1
0
Fork 0

fix(poker): top-anchor activity log below the turn clock, cap visible lines

Co-authored-by: Sisyphus <sisyphus@ohmyopencode.dev>
This commit is contained in:
Jason Fraley 2026-09-14 19:25:43 -04:00
parent df90a34c99
commit 0ddc090acb

View file

@ -1402,6 +1402,18 @@
bottom: auto; bottom: auto;
} }
/* Same fix for poker: bottom-anchoring let the newest line climb into the
center block's turn clock. The clock's bottom edge sits around 65% of the
4:3 felt during betting, so the log is top-anchored at 66.5% and capped
to three visible lines (about 0.95rem each plus gaps) so it ends before
the viewer card spot; the mask fades the capped tail. */
.poker-felt .poker-action-log {
top: 66.5%;
bottom: auto;
max-height: 2.95rem;
overflow: hidden;
}
/* Fullscreen contain-fit: absolute with zero insets + auto margins sizes the /* Fullscreen contain-fit: absolute with zero insets + auto margins sizes the
felt to the largest 4:3 rectangle inside the viewport area (the same rules felt to the largest 4:3 rectangle inside the viewport area (the same rules
browsers use for replaced elements), so it can never collapse to content browsers use for replaced elements), so it can never collapse to content