Skip to content

Commit

Permalink
Simplify divider top and bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
zoglo committed Oct 5, 2023
1 parent 265e40a commit ede33ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions public/framework/scss/ctm_styles/_divider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

&-top,
&-btm {
border-style: $divider-style;
border-color: $divider-color;
border: 0 $divider-style $divider-color;
}

&-top { border-top-width: $divider-size; }
Expand All @@ -21,7 +20,7 @@
position: absolute;
height: $divider-size;

// inner dividers do not react to small- or no-gutter
// inner dividers do not need to react to small- or no-gutter due to article-spacing
left: divide($grid-gutter-width, 2);
right: divide($grid-gutter-width, 2);

Expand Down

0 comments on commit ede33ae

Please sign in to comment.