Unverified Commit 393ddae0 authored by Martijn Cuppens's avatar Martijn Cuppens Committed by GitHub
Browse files

Fix border for single card in accordion (#29453)

parent 03c9788f
Showing with 4 additions and 14 deletions
+4 -14
...@@ -245,27 +245,17 @@ ...@@ -245,27 +245,17 @@
> .card { > .card {
overflow: hidden; overflow: hidden;
&:not(:first-of-type) { &:not(:last-of-type) {
.card-header:first-child {
@include border-radius(0);
}
&:not(:last-of-type) {
border-bottom: 0;
@include border-radius(0);
}
}
&:first-of-type:not(:last-of-type) {
border-bottom: 0; border-bottom: 0;
@include border-bottom-radius(0); @include border-bottom-radius(0);
} }
&:last-of-type { &:not(:first-of-type) {
@include border-top-radius(0); @include border-top-radius(0);
} }
.card-header { > .card-header {
@include border-radius(0);
margin-bottom: -$card-border-width; margin-bottom: -$card-border-width;
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment