Skip to content

Commit 3b0a9e8

Browse files
committed
fixed tab sizes
1 parent 134552e commit 3b0a9e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/shared/components/Contentful/Tabs/themes/vertical.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $gray-border-color: #e9e9e9;
4040
}
4141
}
4242

43-
.tab {
43+
li.tab {
4444
text-align: left;
4545
color: $text-color-black;
4646
font-size: 16px;
@@ -52,6 +52,7 @@ $gray-border-color: #e9e9e9;
5252
@media (max-width: 768px) {
5353
padding-right: 20px;
5454
border-bottom: 5px solid $gray-border-color;
55+
min-width: auto;
5556

5657
&:first-child {
5758
padding-left: 7px;
@@ -83,6 +84,7 @@ $gray-border-color: #e9e9e9;
8384

8485
p {
8586
position: relative;
87+
display: inline-block;
8688

8789
&::after {
8890
@media (max-width: 768px) {

0 commit comments

Comments
 (0)