-
Notifications
You must be signed in to change notification settings - Fork 54
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
Global headers 710 #1099
Global headers 710 #1099
Conversation
This comment will be updated during the review Sub Tasks
Bugs
Others
|
492f33b
to
1ce6dbf
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Need to check whether an issue needs to be opened Bootstrap-side. |
5b2fa52
to
d5c2b77
Compare
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.
Design review
-
While I was doing the review one of your latest commits has broken the let alignment of the supra bars... So my feedback doesn't take that into account. -
IMO the Orange navbar is used for the documentation, but we should wait for HandleA simple change of container allowed to make it work!.container-fluid
to follow brand #987 to be merged because it doesn't work for some breakpoints. The content is not aligned with the menu.
Needs changes
- In 480/320, the
<h1>
is21.008px
. Its size is defined with1.313rem
and should be1.3125rem
. - Headers with double line titles (from 1440 to 768) has a
<h1>
><span>
defined with1.813rem
and should be1.8125rem
. - Minimized header has a problem with the horizontal alignment: the baseline of the nav links is not aligned with the bottom of the Orange logo
Could be handled in another PR after the merge of this one
Issues should be created
- Supra bars (1440 to 1080): we don't see the upper border of the outline because the supra bars are sticky on top of the screen. Same behavior with minimized header and its icons.
- Supra bars (1440 to 1080): the active state orange line should be wider (1px -> 59px instead of 58px). It is probably caused by the 7.5px paddings (.5 pixels probably have an unexpected behavior). It could be fixed by using flex + gap.
- Supra bars (1440 to 1080): badge blue circle should be at 4px from the top instead of 5px
- Headers in 768: the order of focused items in the bar is weird (burger menu before the icons)
- Headers in 768: the outline of the focused burger menu icon is kinda ugly
- Headers in 768/480: icons are displayed in the bar and then also in the burger menu when the menu is opened. Need to clarify the behavior.
- Headers in 340: technical choice to remove the icons of the bar. Maybe study to see if we need to enhance this behavior to keep only the first icon for example as described in the design specs
- Headers in 768: when the menu is opened, the icons seem too large. Do we need to display them as in 480/320?
- Headers in 768: we don't see the bottom of the outline when we focus the icons
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.
Haven't reviewed the documentation nor the shortcode but here are some technical comments (mostly related to Boosted mod).
This comment was marked as resolved.
This comment was marked as resolved.
//// Ensure headings variant align consistently | ||
.title, | ||
.two-lined { | ||
margin: divide(-2em, 7) $spacer divide(-1em, 7) calc(var(--#{$prefix}navbar-brand-logo-size) / 2); /* stylelint-disable-line function-disallowed-list */ |
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.
I observe that the title (on 1 line) is slighty off (1 or 2px). As a test in my browser if I change this line to margin: divide(-2em, 7) $spacer -4px calc(var(--#{$prefix}navbar-brand-logo-size) / 2); /* stylelint-disable-line function-disallowed-list */
it fixes the alignment (on my side) of the title on 1 line but breaks the title on 2 lines.
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.
6c17c2d
to
f08b850
Compare
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.
Sounds good to me.
Before merging:
- Check the RTL mode
- Check if we can't fix the bug regarding the alignment of the titles observed in comment and try to establish on which browsers / OS the problem is with Browserstack. It can end up as a bug after the merge.
After the merge:
- Gather all unresolved comments, check if they are still relevant and transform them into issues in the backlog as enhancements or bugs
New branch of Global headers #727.
Closes #702 Closes #703 Closes #704 Closes #705 Closes #706 Closes #707 Closes #708 Closes #709 Closes #710
This pull request contains every global headers (Global Headers, OBS headers)
Preview:
DoD
Development
scss-docs
shortcoderebase -i
feat(…): …
messageback-from-v4
): renamed variables, changes in markup requirement, etc.Reviews