Skip to content

Commit

Permalink
Refactor CSS theme styles to use new text align classes
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Jul 31, 2019
1 parent 1b7cb09 commit 71d2c7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/block-library/src/quote/theme.scss
Expand Up @@ -13,16 +13,16 @@
font-style: normal;
}

&[style*="text-align:right"],
&[style*="text-align: right"] {
&.has-text-align-right,
&.has-text-align-right {
border-left: none;
border-right: 4px solid $black;
padding-left: 0;
padding-right: 1em;
}

&[style*="text-align:center"],
&[style*="text-align: center"] {
&.has-text-align-center,
&.has-text-align-center {
border: none;
padding-left: 0;
}
Expand Down

0 comments on commit 71d2c7f

Please sign in to comment.