-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update help panel navigation buttons #10581
Conversation
Fixes #105073 where the empty nav button for 'next' was overlapping the keyboard shortcuts button when the user was currently view the Quality Assurance page.
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.
Nice catch! The fix looks good, and using a flex solution instead of floating elements is definitely an improvement in general for this ui element. Only one question below.
css/80_app.css
Outdated
.ideditor .help-pane .nav::after { | ||
content: ''; | ||
display: table; | ||
clear: both; |
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 is the purpose of this ::after
block? In a quick test, for me the fix seems to work also without it.
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.
My mistake. I tried a clearfix hack first, but don't need it now the elements are floated instead. It's redundant now.
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.
Removed redundant clearfix hack after I changed to flex layout instead of float-based layout.
css/80_app.css
Outdated
.ideditor .help-pane .nav::after { | ||
content: ''; | ||
display: table; | ||
clear: both; |
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.
My mistake. I tried a clearfix hack first, but don't need it now the elements are floated instead. It's redundant now.
Fixes #10573 where the empty nav button for 'next' was overlapping the keyboard shortcuts button when the user was currently view the Quality Assurance page.