Fix mobile overflow on bento and mode cards

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sanju Sivalingam
2026-02-14 21:33:51 +05:30
parent 231bce36e5
commit 416005612e

View File

@@ -194,7 +194,7 @@
.mode-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; } .mode-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.mode-card { .mode-card {
background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius);
padding: 24px; display: flex; flex-direction: column; transition: border-color .2s; padding: 24px; display: flex; flex-direction: column; transition: border-color .2s; min-width: 0; overflow: hidden;
} }
.mode-card:hover { border-color: var(--border-hover); } .mode-card:hover { border-color: var(--border-hover); }
.mode-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .mode-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
@@ -230,7 +230,7 @@
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; } .bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.bento-card { .bento-card {
background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius);
padding: 28px; transition: border-color .2s; padding: 28px; transition: border-color .2s; min-width: 0; overflow: hidden;
} }
.bento-card:hover { border-color: var(--border-hover); } .bento-card:hover { border-color: var(--border-hover); }
.bento-card.wide { grid-column: 1 / -1; } .bento-card.wide { grid-column: 1 / -1; }