Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions wesmere/sass/wmlunits/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -316,5 +316,6 @@ ul.navbar div.popupheader {

.spritebg {
background-size: $unit-sprite-size;
background-repeat: no-repeat;
}
}
12 changes: 11 additions & 1 deletion wesmere/sass/wmlunits/_unit_tree.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ table.units {

td.empty {
background: $units-table-bg;

@include media-tiny-screen-constraint {
display: none;
}
}

.raceheader {
Expand Down Expand Up @@ -70,11 +74,17 @@ td.empty {
border: 1px solid $units-table-border;

// Align contents to the cell top unless it's a cell that spans more than
// one unit advancement branch -- those should be centered.
// one unit advancement branch -- those should be centered in non-tiny screens.
&:not([rowspan]) {
vertical-align: top;
}

&:[rowspan] {
@include media-tiny-screen-constraint {
vertical-align: top;
}
}

& > a {
font-size: 1.25em;
font-weight: bold;
Expand Down