More actions
Setting .icon cell width to 24px (anyway it's going to overriden by content size, but if there is no content it can misbehave without this rule) |
Fixing sudden wrap issue for icons |
||
| Line 43: | Line 43: | ||
.wikitable.NPC th {background-color: #222; padding: 0.5em 0.5em 0.4em; } | .wikitable.NPC th {background-color: #222; padding: 0.5em 0.5em 0.4em; } | ||
.wikitable.NPC td {padding: 0.65em 0.5em 0.5em; line-height: 1; } | .wikitable.NPC td {padding: 0.65em 0.5em 0.5em; line-height: 1; } | ||
.wikitable.NPC td.icon {padding: 0.1em; text-align: center; width: 24px; } | .wikitable.NPC td.icon {padding: 0.1em; text-align: center; width: 24px; white-space: nowrap; } | ||
.wikitable.NPC td.icon a {padding: 0 0. | .wikitable.NPC td.icon a {padding: 0 0.2em; } | ||
.wikitable.NPC td.icon a img {margin: -6px; } | |||
.wikitable.NPC .mw-collapsible-toggle {position: absolute; left: 10px; } | .wikitable.NPC .mw-collapsible-toggle {position: absolute; left: 10px; } | ||
}} | }} | ||