Skip to content

Commit e726fa7

Browse files
committed
style: fix horizontal centering of start/select labels in landscape
1 parent 82c76c1 commit e726fa7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/GameBoy.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2330,6 +2330,8 @@ h1 {
23302330

23312331
.console.landscape .pill-label {
23322332
top: -18px; /* Push absolute positioned text cleanly above the groove (-5px) */
2333+
left: 50%;
2334+
transform: translateX(-50%);
23332335
font-size: 8px; /* Slightly smaller text */
23342336
}
23352337

0 commit comments

Comments
 (0)