-
Notifications
You must be signed in to change notification settings - Fork 4.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
Improve inserter style #3080
Improve inserter style #3080
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3080 +/- ##
=========================================
- Coverage 32.32% 31.4% -0.92%
=========================================
Files 216 216
Lines 6134 6358 +224
Branches 1079 1149 +70
=========================================
+ Hits 1983 1997 +14
- Misses 3502 3643 +141
- Partials 649 718 +69
Continue to review full report at Codecov.
|
@jasmussen nice. Since the tabs disappear when searching, navigation from the search field to the results doesn't have any "barrier" and this seems a good thing to me. No need I review it, I'd just like to see the Inserter in a stable state so we can address accessibility 🙂 I've played a bit with |
components/popover/style.scss
Outdated
@@ -70,7 +70,7 @@ | |||
width: calc( 100vw - 20px ); | |||
|
|||
@include break-medium { | |||
width: 300px; | |||
width: 320px; |
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.
Is this needed for all popovers or should apply only to the inserter?
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.
This also adds a width to the publish dropdown, which relied on the width given by the inserter.
Given then thumbs up on this PR, and the most recent width CSS fix, I think this branch is good to merge! However since today — since right now — is release day for 1.5, I'm not going to just merge haphazardly. @pento if you'd like this PR in, it's got my stamp of approval as working, but up to you whether you want to include in this release. Feel free to merge if yes, otherwise I'll do it next week and have it in 1.6. |
Let's put it in 1.6, just in case any regressions crop up. |
👍👍 |
1.5 is released, which means this one can go in! |
Description
Aims to fix #1497.
GIF:
This moves the tabs to the top, it changes the style of the inserter a bit, and improves the focus styles per #3039.
Note: I can't tab into the Tabs — pun not intended. Not sure why this is, would appreciate advice.
Checklist: