updated frame for mobile

This commit is contained in:
2026-04-02 01:10:50 -07:00
parent 6c3100b5c9
commit e5d041101f
3 changed files with 85 additions and 11 deletions

View File

@@ -1135,6 +1135,7 @@
--frame-base-gap: clamp(2px, 0.3vw, 6px);
--frame-gap: calc(var(--frame-base-gap) * var(--frame-grid-zoom-scale));
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 14px;
padding: 18px;
border: 1px solid #27272a;
@@ -1152,7 +1153,8 @@
align-items: flex-start;
justify-content: space-between;
gap: 12px;
min-width: max-content;
min-width: 0;
flex-wrap: wrap;
}
.tarot-frame-panel-title {
@@ -1183,8 +1185,10 @@
}
.tarot-frame-grid-viewport {
width: 100%;
max-width: 100%;
width: min(100%, calc(100vw - 52px));
max-width: calc(100vw - 52px);
margin-left: auto;
margin-right: auto;
overflow: auto;
overscroll-behavior: contain;
min-width: 0;
@@ -1481,7 +1485,8 @@
}
.tarot-frame-panel {
--frame-base-cell-width: 26px;
--frame-base-gap: 2px;
--frame-base-cell-width: min(26px, calc((100vw - 78px) / 14));
}
.tarot-frame-card-badge {