Compare commits
2 Commits
main
...
fix/websit
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
870700d7ee | [automated] Update website screenshot expectations | ||
|
|
61919b2702 |
fix(website): center button labels by tuning ppformula-text-center
The PP Formula optical-centering shift was 0.19em, which over-corrected and left every button/badge/nav label about 1.4px low. Reduce it to 0.1em, measured via canvas glyph-ink metrics (~0.09-0.10em centers uppercase). It is a position:relative nudge only, so no box sizes or layout change. Verified no regressions across Button, BrandButton, ButtonPill, Badge, nav, and DownloadLocalButton on 12 pages. |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
|
|
@@ -248,7 +248,7 @@
|
|||
@utility ppformula-text-center {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
top: 0.19em;
|
||||
top: 0.1em;
|
||||
}
|
||||
|
||||
/* Hide native play-button overlay iOS Safari shows when autoplay is blocked
|
||||
|
|
|
|||