Skip to content

Commit

Permalink
fix table overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Buschmann committed Feb 16, 2020
1 parent a72d96e commit 5a29d13
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion _sass/basic.sass
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,18 @@ img
height: auto

table
width: 100%
display: inline-block
max-width: 100%
overflow-y: scroll
border-spacing: 1px
border-radius: 2px
box-shadow: 0 0 0 1px reduce(12) inset

@media (min-width: 50em)
table
display: table
width: 100%

th, td
padding: .5em 1em
box-shadow: 0 0 0 1px reduce(12)
Expand Down

0 comments on commit 5a29d13

Please sign in to comment.