mirror of
https://github.com/milligram/milligram.git
synced 2024-11-13 16:54:22 +00:00
Revert "Responsive table"
This commit is contained in:
parent
ef6c8dc731
commit
9497e279a0
@ -4,49 +4,16 @@
|
|||||||
|
|
||||||
table
|
table
|
||||||
border-spacing: 0
|
border-spacing: 0
|
||||||
display: flex
|
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
thead
|
|
||||||
border-right: .1rem solid $color-quinary
|
|
||||||
|
|
||||||
tbody
|
|
||||||
display: flex
|
|
||||||
overflow-x: auto
|
|
||||||
white-space: nowrap
|
|
||||||
|
|
||||||
tr
|
|
||||||
border-right: .1rem solid $color-quinary
|
|
||||||
|
|
||||||
&:last-child
|
|
||||||
border-right: 0
|
|
||||||
|
|
||||||
td,
|
td,
|
||||||
th
|
th
|
||||||
display: block
|
border-bottom: .1rem solid $color-quinary
|
||||||
padding: 1.2rem 1.5rem
|
padding: 1.2rem 1.5rem
|
||||||
text-align: left
|
text-align: left
|
||||||
|
|
||||||
@media (min-width: 40.0rem)
|
&:first-child
|
||||||
|
padding-left: 0
|
||||||
|
|
||||||
table
|
&:last-child
|
||||||
display: table
|
padding-right: 0
|
||||||
|
|
||||||
thead
|
|
||||||
border-right: 0
|
|
||||||
overflow-x: visible
|
|
||||||
white-space: normal
|
|
||||||
|
|
||||||
tbody
|
|
||||||
display: table-row-group
|
|
||||||
|
|
||||||
tr
|
|
||||||
border-right: 0
|
|
||||||
|
|
||||||
&:last-child td
|
|
||||||
border-bottom: 0
|
|
||||||
|
|
||||||
td,
|
|
||||||
th
|
|
||||||
border-bottom: .1rem solid $color-quinary
|
|
||||||
display: table-cell
|
|
||||||
|
Loading…
Reference in New Issue
Block a user