Skip to content

Commit 71394cc

Browse files
committed
Fix tab heigh
1 parent 73bf610 commit 71394cc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.stylelintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"indentation": "tab",
88
"max-nesting-depth": 5,
99
"number-leading-zero": null,
10+
"no-missing-end-of-source-newline": null,
1011
"order/properties-alphabetical-order": null,
1112
"order/order": null,
1213
"property-no-vendor-prefix": null,
@@ -17,4 +18,4 @@
1718
"scss/at-extend-no-missing-placeholder": null,
1819
"value-no-vendor-prefix": null
1920
}
20-
}
21+
}

src/components/_tabs.scss

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
}
2424

2525
+ label + .tab-content {
26+
max-height: 85%;
27+
overflow-y: scroll;
2628
opacity: 1;
2729
z-index: initial;
2830
@include transition;
@@ -60,6 +62,7 @@
6062
position: absolute;
6163
top: 2.4rem;
6264
left: 0;
65+
margin-top: .5rem;
6366
width: inherit;
6467
opacity: 0;
6568
z-index: -1;

0 commit comments

Comments
 (0)