Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separator: Remove appearance of "inset" style. #43948

Merged
merged 1 commit into from
Sep 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/block-library/src/separator/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
border-bottom: 1px solid currentColor;
// Default, thin style, is stored in theme.scss so it can be opted out of

// Unset the left and right borders by default, otherwise some browsers will render them as "inset".
border-left: none;
border-right: none;

// Dots style
&.is-style-dots {
// Override any background themes often set on the hr tag for this style.
Expand Down