minor adjustments
This commit is contained in:
@@ -472,7 +472,7 @@
|
||||
--night-icon-nudge: 4px;
|
||||
/* compact only: signed shift that lands the lone icon dead centre in the
|
||||
square tile (measured against the tile's mid-line) */
|
||||
--icon-lift: -1px;
|
||||
--icon-lift: 1px;
|
||||
/* cell bottom padding (roomy when full, a little breathing room under the
|
||||
temps when compact so they don't sit on the tile edge). The compact
|
||||
tile is taller than its content here, so the leftover slack already
|
||||
@@ -540,7 +540,7 @@
|
||||
--tmax-padx-min: 6px;
|
||||
--pt-min: 5px;
|
||||
--pb-min: 6px;
|
||||
--icon-lift: 0px;
|
||||
--icon-lift: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -899,16 +899,24 @@
|
||||
padding: 1px;
|
||||
font-size: 10px;
|
||||
}
|
||||
/* The row-header icon and the fixed cell height are what actually set the
|
||||
row height, so both come down explicitly. */
|
||||
.cell :global(svg),
|
||||
/* The row-header icon was setting the height of every row it sat in - the
|
||||
stacked icon + label + unit needed ~52px while the value cells only
|
||||
needed 34. The label already names the row, so on phones the icon goes
|
||||
and the cells decide the height. */
|
||||
.hdr :global(svg) {
|
||||
display: none;
|
||||
}
|
||||
.cell :global(svg) {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
.cell {
|
||||
height: 34px;
|
||||
}
|
||||
/* except precipitation, whose cell is a bar chart and needs the room */
|
||||
.precip-cell {
|
||||
height: 46px;
|
||||
}
|
||||
.hdr :global(span) {
|
||||
font-size: 9px;
|
||||
line-height: 1.15;
|
||||
|
||||
Reference in New Issue
Block a user