1
0
Fork 0
forked from OpenNeo/impress

Set fixed table width for Item Getting Guide tables

We'll need to dig into this more for mobile, but here's my initial
attempt at getting the tables to be consistently-sized and such!
This commit is contained in:
Emi Matchu 2024-05-22 14:47:43 -07:00
parent ecde507b60
commit 189cb6a132

View file

@ -4,6 +4,8 @@
.item-list .item-list
border-collapse: collapse border-collapse: collapse
border: 1px solid $soft-border-color border: 1px solid $soft-border-color
width: 60%
table-layout: auto
td, th td, th
border-top: 1px solid $soft-border-color border-top: 1px solid $soft-border-color
@ -17,21 +19,25 @@
&:last-child &:last-child
padding-right: .5em padding-right: .5em
.thumbnail-cell img .thumbnail-cell
display: block
width: 2.5em width: 2.5em
height: 2.5em height: 2.5em
.actions-cell img
text-align: right display: block
padding-left: 1em width: 100%
font-size: 85% height: 100%
.name-cell a .name-cell a
text-decoration: none text-decoration: none
&:hover &:hover
text-decoration: underline text-decoration: underline
.actions-cell
text-align: right
padding-left: 1em
font-size: 85%
thead thead
background: $module-bg-color background: $module-bg-color