Skip to content

Commit b9f4008

Browse files
committed
tewak tab styles
1 parent c22dade commit b9f4008

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/Tabs.css

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
.tab-body {
2+
flex: none;
3+
height: calc(100% - 40px);
4+
width: 100%;
5+
background-color: #1d1d1d;
6+
}
7+
18
.tab-header-container {
29
display: flex;
310
flex-direction: row;
@@ -8,6 +15,8 @@
815
height: 40px;
916
width: 100%;
1017
background-color: #000;
18+
flex-shrink: 0;
19+
margin-top: auto;
1120
}
1221

1322
.tab-control {
@@ -32,17 +41,12 @@
3241
background-color: #000;
3342
cursor: pointer;
3443
transition: 0.1s background linear;
35-
flex: none;
3644
}
3745

3846
.tab-header.active {
3947
background-color: var(--darkgrey);
4048
}
41-
42-
.tab-body {
43-
height: calc(100% - 40px);
44-
background-color: #1d1d1d;
45-
}
49+
4650

4751
.tab-button {
4852
display: inline-block;

0 commit comments

Comments
 (0)