Skip to content

Commit c935f10

Browse files
fix for themed panel border top issue #817
1 parent 1fe84de commit c935f10

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/scss/components/_themed-panel.scss

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
background: variables.$blue-lighter;
1818
}
1919

20-
.themed-panel__main {
20+
.themed-panel__figure {
2121
border-top-color: variables.$blue-lighter;
2222
}
2323
}
@@ -28,7 +28,6 @@
2828
flex-direction: column;
2929
justify-content: space-between;
3030
flex: 1;
31-
border-top: variables.$spacing-3 solid variables.$navy;
3231

3332
@include breakpoints.breakpoint(md) {
3433
border-top: 0;
@@ -53,6 +52,10 @@
5352
.themed-panel__figure {
5453
position: relative;
5554

55+
&:first-child {
56+
border-top: variables.$spacing-3 solid variables.$navy;
57+
}
58+
5659
&:before {
5760
display: block;
5861
content: '';
@@ -62,6 +65,10 @@
6265

6366
@include breakpoints.breakpoint(sm) {
6467
margin: variables.$spacing-3 variables.$spacing-3 0;
68+
69+
&:first-child {
70+
border-top: 0;
71+
}
6572
}
6673

6774
@include breakpoints.breakpoint(lg) {

0 commit comments

Comments
 (0)