1
0
Fork 0
forked from OpenNeo/impress

Don't let action buttons wrap onto multiple lines in Item Getting Guide

A funny table-layout bug, where the item "Portal to the Unknown" had a
very long Owls listing ("Owls listing: Buyable - Magic Lens + Blank
Grey Tome (NP)"), and so the table layout tried to give it more room by
decreasing the width of the action cell and wrapping the "NC Trades"
action button text onto multiple lines.

The fix: don't allow that! The table layout will figure out how to
handle this being disallowed, and give the actions cell an appropriate
minimum width.
This commit is contained in:
Emi Matchu 2024-05-28 17:16:41 -07:00
parent f84e340899
commit bb0d219508

View file

@ -39,6 +39,11 @@
padding-left: 1em padding-left: 1em
font-size: 85% font-size: 85%
a, button
/* When item names get long, don't let the buttons wrap to give the
* item names more space. The names should wrap more instead! */
text-wrap: nowrap
tbody tbody
tr tr
&:hover, &:focus-within &:hover, &:focus-within