Skip to content

Commit

Permalink
Add fixed styles to buttons in editor view (#8567)
Browse files Browse the repository at this point in the history
  • Loading branch information
sixhours authored Jan 10, 2025
1 parent c5eb122 commit 24c0fb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions independent-publisher-2/css/editor-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ p.has-drop-cap:not(:focus)::first-letter {
background: #0087be;
border: solid 1px transparent;
border-radius: 3px;
box-sizing: content-box;
box-sizing: border-box;
color: #fff;
cursor: pointer;
-webkit-transition: background 120ms ease-in-out, box-shadow 120ms ease-in-out;
Expand All @@ -390,7 +390,7 @@ p.has-drop-cap:not(:focus)::first-letter {
font-size: 16px;
font-weight: 400;
font-style: normal;
padding: .4375em .875em;
padding: .4375em 1.25em;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
Expand Down Expand Up @@ -541,15 +541,15 @@ p.has-drop-cap:not(:focus)::first-letter {
/* Buttons */

.wp-block-button .wp-block-button__link {
box-sizing: content-box;
box-sizing: border-box;
cursor: pointer;
-webkit-transition: background 120ms ease-in-out, box-shadow 120ms ease-in-out;
transition: background 120ms ease-in-out, box-shadow 120ms ease-in-out;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
font-size: 16px;
font-weight: 400;
font-style: normal;
padding: .4375em .875em;
padding: .4375em 1.25em;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
Expand Down

0 comments on commit 24c0fb7

Please sign in to comment.