mirror of
https://github.com/milligram/milligram.git
synced 2024-11-13 16:54:22 +00:00
Add responsive support to the table element
This commit is contained in:
parent
ae221c16fb
commit
62a5a2e5b4
@ -4,16 +4,23 @@
|
||||
|
||||
table
|
||||
border-spacing: 0
|
||||
display: block
|
||||
overflow-x: auto
|
||||
width: 100%
|
||||
|
||||
td,
|
||||
th
|
||||
border-bottom: .1rem solid $color-quinary
|
||||
padding: 1.2rem 1.5rem
|
||||
text-align: left
|
||||
|
||||
&:first-child
|
||||
padding-left: 0
|
||||
|
||||
&:last-child
|
||||
padding-right: 0
|
||||
|
||||
@media (min-width: 40.0rem)
|
||||
|
||||
table
|
||||
display: table
|
||||
overflow-x: initial
|
||||
|
Loading…
Reference in New Issue
Block a user