From 0ddc090acba76122faaac6d345876e67d34a2ffd Mon Sep 17 00:00:00 2001 From: Z8MB1E Date: Mon, 14 Sep 2026 19:25:43 -0400 Subject: [PATCH] fix(poker): top-anchor activity log below the turn clock, cap visible lines Co-authored-by: Sisyphus --- src/app/(frontend)/styles.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/app/(frontend)/styles.css b/src/app/(frontend)/styles.css index abe61c9..f3f2762 100644 --- a/src/app/(frontend)/styles.css +++ b/src/app/(frontend)/styles.css @@ -1402,6 +1402,18 @@ 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 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