-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Edit Post: Fix misplaced icon on back button #71406
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ | |
| display: flex; | ||
| align-items: center; | ||
| align-self: stretch; | ||
| justify-content: center; | ||
| border: none; | ||
| background: $gray-900; | ||
| color: $white; | ||
|
|
@@ -31,7 +32,7 @@ | |
| position: absolute; | ||
| top: 9px; | ||
| right: 9px; | ||
| bottom: 9px + $border-width; // Height of toolbar in edit-post (not edit-site) is 61px tall. | ||
| bottom: 9px; | ||
|
||
| left: 9px; | ||
| border-radius: $radius-small + $border-width + $border-width; | ||
| box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) $gray-900; | ||
|
|
||


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 wonder if this should be added to the
Buttoncomponent 🤔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 know there are plenty of custom styles for centering button text, so changing the default alignment might certainly be worth looking into. I may have seen an issue somewhere suggesting that.