-
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
Display device icon on "preview" and "view" buttons #50218
Conversation
Size Change: +250 B (0%) Total Size: 1.37 MB
ℹ️ View Unchanged
|
I don't think we should locally modify the spacing for this button alone, and if we do it for the mobile type only we'd get some layout shift. |
Flaky tests detected in 1142f8b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4851442110
|
I should've been clearer: I was suggesting we modify the default spacing here across all buttons with icons. It feels off across every variation: 4px may be too small? 6px could be better? I'm also happy to explore this separate if you prefer to keep things focused. |
Ah, ok :) Yes, let's do that separately |
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.
Let's try this.
I'll follow up with smaller gap between icons.
I like the icons, but it feels a bit of a shame to increase the horizontal space occupied by top bar children. Do we need the 'Preview' text, couldn't that be a tooltip? |
@jameskoster I think that's a next step to consider, but it's a slightly larger change we should combine with the work on document title and a way to display the view link. If we have a final design target there we can move faster. |
Small clarity improvement in conjunction with #50217.