Skip to content

Commit

Permalink
don't use hardcoded values for separator styles (#24366)
Browse files Browse the repository at this point in the history
* don't use hardcoded values for separator styles

* coding standards fix
  • Loading branch information
aristath committed Aug 5, 2020
1 parent 5660e7b commit 0bfb46f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/separator/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
&::before {
content: "\00b7 \00b7 \00b7";
color: currentColor;
font-size: 20px;
font-size: 1.5em;
letter-spacing: 2em;
/*rtl:ignore*/
padding-left: 2em;
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/separator/theme.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
.wp-block-separator {
border: none;
border-bottom: 2px solid $dark-gray-100;
border-bottom: 2px solid currentColor;
margin-left: auto;
margin-right: auto;
opacity: 0.4;

// Default, thin style
&:not(.is-style-wide):not(.is-style-dots) {
Expand Down

0 comments on commit 0bfb46f

Please sign in to comment.