From ddd0520b63316ed91fe70b6981402fda9aafb2eb Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 12 Apr 2025 15:43:34 +0200 Subject: left-align card display on table so it doesn't jump around update the discard view even when null --- play.css | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'play.css') diff --git a/play.css b/play.css index 77745f0..5c929a4 100644 --- a/play.css +++ b/play.css @@ -39,17 +39,11 @@ header.your_turn.ve { background-color: hsl(40, 100%, 70%) } display: flex; flex-wrap: wrap; align-content: start; - justify-content: center; + justify-content: start; gap: 16px; padding: 16px; } -@media (max-width: 800px) { - #card_panel { - justify-content: start; - } -} - #table { display: grid; width: 100%; @@ -408,11 +402,11 @@ path.campaign { stroke: black; stroke-dasharray: 4 4; } } #discard_pile .card.side { - margin-left: -226px; + margin-left: -206px; } #discard_pile .card.stack { - margin-top: -325px; + margin-top: -305px; } .card.card_back { -- cgit v1.2.3