Skip to content

Commit

Permalink
Fix Separator margins (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
danalvrz authored Jun 26, 2023
1 parent 795e02e commit 467f97d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/118.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix Separator margins when it has center alignment. @danalvrz
5 changes: 5 additions & 0 deletions src/theme/blocks/_separator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@
padding: 0 !important;
}

&.has--align--center {
margin-right: auto;
margin-left: auto;
}

@include vertical-space-separator();
}

0 comments on commit 467f97d

Please sign in to comment.