Skip to content

Commit ea49cf2

Browse files
authored
fix: table styles (#297)
1 parent 3cd3ab0 commit ea49cf2

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

src/scss/_common.scss

+10-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@
181181

182182
th, td {
183183
padding: 10px 20px;
184-
white-space: nowrap;
185184
overflow: hidden;
186185
text-overflow: ellipsis;
187186
border: 1px solid $borderColor;
@@ -192,6 +191,16 @@
192191
}
193192
}
194193

194+
td {
195+
vertical-align: baseline;
196+
white-space: normal;
197+
}
198+
199+
th {
200+
font-weight: 500;
201+
text-align: left;
202+
}
203+
195204
tr td:first-child, tr th:first-child {
196205
border-left: none;
197206
}

src/scss/_variables.scss

-2
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,3 @@ $tableRowBackgroundColor: rgba(0, 0, 0, 0.02);
1414

1515
$linkColor: $accentColor;
1616
$linkHoverColor: #004080;
17-
18-
$tableBorderRadius: 8px;

0 commit comments

Comments
 (0)