Skip to content

Commit e34925b

Browse files
committed
#351: Refactor table responsive styling.
1 parent a914ce3 commit e34925b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

scss/_tables.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,19 @@ table {
5151

5252
@media all and (max-width: 1024px) {
5353
border: 0;
54+
border-right: .06 * $em solid color.scale($black, $lightness: 80%);
5455
display: inline;
5556
padding: 0;
57+
padding-left: .3 * $em;
58+
padding-right: .6 * $em;
59+
60+
&:first-child {
61+
padding-left: 0;
62+
}
63+
64+
&:last-child {
65+
border-right: 0;
66+
}
5667
}
5768
}
5869

0 commit comments

Comments
 (0)