fix(ui): nudge the rack blank star up a pixel
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / ui (pull_request) Successful in 53s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 1m19s

By eye the centred star still read a hair low; subtract 1px from its top
offset (top: calc(0.5% - 1px)).
This commit is contained in:
Ilia Denisov
2026-06-22 12:55:06 +02:00
parent 81680a1d5e
commit 62f66735a3
+3 -3
View File
@@ -139,11 +139,11 @@
font-weight: 600; font-weight: 600;
} }
/* Erudit's blank ("звёздочка") shows its star horizontally centred on the otherwise empty /* Erudit's blank ("звёздочка") shows its star horizontally centred on the otherwise empty
tile face; the small top offset centres its ink against the neighbouring letters' block tile face; the top offset centres its ink against the neighbouring letters' block, nudged
(it is slightly larger than them so it reads). */ up a pixel to sit right by eye (it is slightly larger than them so it reads). */
.star { .star {
position: absolute; position: absolute;
top: 0.5%; top: calc(0.5% - 1px);
left: 0; left: 0;
right: 0; right: 0;
text-align: center; text-align: center;