-
Notifications
You must be signed in to change notification settings - Fork 0
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
[OUR415-314] Fixes eligibility and category lists in Browse Experience #258
Changes from 5 commits
da97207
c0b198a
e675e37
1640b01
1428afb
c7e7121
ac139b6
e7d924a
4be2bd8
8f8a966
970b00a
3cba11c
e7e19fe
b019b84
e01c50c
8c918ba
b9587cf
40f3ce7
bf2dfa4
50c061a
b2616dd
f657c65
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,21 @@ | ||
@import "../../../styles/utils/_helpers.scss"; | ||
@import "../../../styles/utils/_colors.scss"; | ||
|
||
.navigationMenuContainer { | ||
// Important to override react-burger-menu lib styles | ||
display: flex !important; | ||
flex-direction: column; | ||
align-items: center; | ||
Comment on lines
-5
to
-8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note: We got rid of the react-burger-menu lib so these declarations are no longer necessary. |
||
|
||
> * { | ||
font-size: 18px; | ||
font-family: Montserrat; | ||
} | ||
.navigationMenuContainer > * { | ||
font-size: 18px; | ||
font-family: Montserrat; | ||
} | ||
|
||
.navigationSubMenu { | ||
position: absolute; | ||
z-index: $z-index-top; | ||
top: 65px; | ||
top: 46px; | ||
background: $white; | ||
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2); | ||
border-radius: $rounded-md; | ||
overflow: hidden; | ||
font-weight: 400; | ||
width: max-content; | ||
} | ||
|
||
.navigationMenuHeader { | ||
|
@@ -92,11 +86,12 @@ | |
|
||
.categoryMenuContainer { | ||
position: relative; | ||
min-width: 160px; | ||
|
||
|
||
.navigationSubMenu { | ||
top: 50px; | ||
left: 0; | ||
@include r_max($break-tablet-s) { | ||
width: calc(100vw - $general-spacing-xs); | ||
} | ||
Comment on lines
+95
to
+97
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note: This expands the top level category dropdown full width. Had not implemented it yet. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just wondering - Is there a reason for choosing general-spacing-xs? Or for adding that only on the category dropdown rather the nav dropdown too? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only that I discovered this variable defined the correct spacing. |
||
} | ||
|
||
.navigationMenuHeader { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: Discovered a bug where the filters were not on top.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Speaking of z-indexes. The category dropdown appears to have a higher z-index than the navigation bar. If that would be a quick fix, might make sense to put it in this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What browser/resolution is that? I don't even know how to get in that state 😅