Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add navigator-title slot to NavigatorCard + fix small UI spacing details #846

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

marinaaisa
Copy link
Member

Bug/issue #122909785, if applicable:

Summary

  • Add navigator-title slot to NavigatorCard
  • Add negative margin to bring the filter up while keeping the height and padding as it is

Dependencies

NA

Testing

Steps:

  1. Assert that everything works well in desktop viewports
  2. Assert that the filter is higher up in the small viewports

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • Added tests
  • Ran npm test, and it succeeded
  • Updated documentation if necessary

@marinaaisa marinaaisa requested a review from mportiz08 May 31, 2024 19:30
src/components/Navigator/NavigatorCard.vue Outdated Show resolved Hide resolved
src/components/Navigator/NavigatorCard.vue Show resolved Hide resolved
@marinaaisa marinaaisa force-pushed the r122909785/navigator-title-slot branch from fb8a334 to 9634f41 Compare July 30, 2024 11:56
@marinaaisa
Copy link
Member Author

@swift-ci test

@@ -184,6 +184,10 @@ export default {
type: Object,
default: () => ({}),
},
customTag: {
type: String,
require: false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
require: false,

Or required: false

@@ -13,7 +13,7 @@
:class="{ expanded, active: isActive, 'is-group': isGroupMarker }"
:style="{ '--nesting-index': item.depth }"
:data-nesting-index="item.depth"
:id="`container-${item.uid}`"
:id="item.uid ? `container-${item.uid}` : null"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep the uid as a requirement since this id value is important for the underlying dynamic scrolling library that is used for nav items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants