Commit bc03ea7b authored by Mahmoud Aglan's avatar Mahmoud Aglan

fix: backgammon board larger — 820px default, 900px on large screens

Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent 9a1a30f2
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
gap: 16px; gap: 16px;
justify-content: center; justify-content: center;
align-items: flex-start; align-items: flex-start;
max-width: 1200px; max-width: 1300px;
margin: 0 auto; margin: 0 auto;
padding: 8px 16px; padding: 4px 8px;
direction: ltr; direction: ltr;
} }
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
.bg-board { .bg-board {
position: relative; position: relative;
width: 100%; width: 100%;
max-width: calc(100vw - 340px); max-width: 820px;
aspect-ratio: 1.4 / 1; aspect-ratio: 1.35 / 1;
background: var(--bg-board-wood); background: var(--bg-board-wood);
border-width: 10px; border-width: 10px;
border-style: solid; border-style: solid;
...@@ -575,8 +575,8 @@ ...@@ -575,8 +575,8 @@
.bg-side-panel { .bg-side-panel {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 12px; gap: 10px;
width: 240px; width: 200px;
flex-shrink: 0; flex-shrink: 0;
background: var(--bg-2, rgba(0,0,0,0.2)); background: var(--bg-2, rgba(0,0,0,0.2));
border-radius: 12px; border-radius: 12px;
...@@ -997,7 +997,7 @@ ...@@ -997,7 +997,7 @@
/* ─── Responsive: Large screens ──────────────────────────────────────────── */ /* ─── Responsive: Large screens ──────────────────────────────────────────── */
@media (min-width: 1024px) { @media (min-width: 1024px) {
.bg-board { .bg-board {
max-width: calc(100vw - 360px); max-width: 900px;
} }
:root { :root {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment