-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix label only mode parent selector. #28721
Conversation
Size Change: +42 B (0%) Total Size: 1.37 MB
ℹ️ View Unchanged
|
Should we have the margin gap still? Feels kind of weird without the gap. Or would it make more sense to push it to the end in this context? |
I'd like that gap, even if it'd make the toolbar even wider. The problem is that it's pretty tricky to make that gap happen, because the text label can have arbitrary width, which means we can't abs-position it, it has to push the rest of the toolbar. Because it's hard to address, I thought it good to get this out as a low-code hotfix, and then hopefully we can circle back. And circle back we should, becaus the whole toolbar can benefit substantially from a dedicated iteration: the MacOS finder handles text-only buttons decently: |
Agreed — it might make sense to increase the block label font-size a bit to give it proper hierarchy, for example. |
This follows up on feedback in #28598 (comment) where it was clear the text-label only mode regressed with the parent block selector. Sorry about that. So this is sort of a hotfix.
Icons:
Labels:
The little space between the selectors is non trivial to add, but happy to try in a followup. But just for the sake of the total width of the label-only toolbar, even saving those 10 pixels benefits this, so I decided this was a good first step.
Checklist: