File tree 1 file changed +23
-7
lines changed
src/shared/components/Contentful/Tabs/themes
1 file changed +23
-7
lines changed Original file line number Diff line number Diff line change @@ -25,31 +25,47 @@ $text-color-pannel: #4a4a4a;
25
25
border-bottom : 5px solid #e9e9e9 ;
26
26
27
27
@include xs-to-sm {
28
- -webkit-flex-direction : column ; /* Safari */
29
- flex-direction : column ;
30
- align-items : center ;
28
+ overflow-x : auto ;
29
+ white-space : nowrap ;
30
+ border : none ;
31
+ justify-content : space-between ;
32
+ margin : 0 16px ;
31
33
}
32
34
}
33
35
34
36
.tab {
35
37
text-align : center ;
36
- margin : 0 20 px ;
38
+ margin : 0 25 px ;
37
39
color : $text-color-black ;
38
40
font-size : 20px ;
39
41
font-weight : 400 ;
40
42
line-height : 25px ;
41
43
padding-bottom : 15px ;
42
44
cursor : pointer ;
43
45
margin-bottom : -5px ;
46
+ position : relative ;
44
47
45
48
@include xs-to-sm {
46
- margin : 2px ;
49
+ margin : 0 ;
50
+ margin-right : 36px ;
51
+
52
+ & :last-child {
53
+ margin-right : 0 ;
54
+ }
47
55
}
48
56
49
57
& :hover ,
50
58
& .selected {
51
- border-bottom : 5px solid #43d7b0 ;
52
- border-radius : 3px ;
59
+ & ::after {
60
+ content : ' ' ;
61
+ border-radius : 2.5px ;
62
+ background : #43d7b0 ;
63
+ height : 5px ;
64
+ width : 100% ;
65
+ position : absolute ;
66
+ bottom : 0 ;
67
+ left : 0 ;
68
+ }
53
69
}
54
70
55
71
p {
You can’t perform that action at this time.
0 commit comments