Skip to content
New issue

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

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

Already on GitHub? # to your account

[PLAY-939] Section Separator Vertical Variant Fixes #3370

Merged
merged 2 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ $section_colors_dark: (

&[class*=_dashed] {
&::before, &::after {
border: 1px dashed $border_light;
background: none;
@include section_separator_dashed(false);
}
}

Expand All @@ -66,5 +65,10 @@ $section_colors_dark: (
@include section_separator_vertical(true);
}
}
&[class*=_dashed] {
&::before, &::after {
@include section_separator_dashed(true);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
content: "";
height: 100%;
width: 1px;
width: 1.9px;
position: initial;
z-index: 0;
}
Expand All @@ -21,3 +21,13 @@
background: $border_dark;
}
}

@mixin section_separator_dashed($dark: false) {
@if $dark == false {
border: 1px dashed $border_light;
background: none;
} @else {
border: 1px dashed $border_dark;
background: none;
}
}