Compact toasts on phones, hidden under the menu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
14b4c07208
commit
1dcf2707f3
1 changed files with 2 additions and 2 deletions
|
|
@ -275,7 +275,7 @@ table.parts td:last-child { text-align: right; font-variant-numeric: tabular-num
|
|||
|
||||
/* --- toasts and modal ------------------------------------------------- */
|
||||
|
||||
#toasts { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; z-index: 30; }
|
||||
#toasts { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; max-width: calc(100vw - 32px); gap: 8px; z-index: 30; }
|
||||
.toast {
|
||||
background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px;
|
||||
font-size: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); animation: rise .2s ease-out;
|
||||
|
|
@ -314,7 +314,7 @@ table.parts td:last-child { text-align: right; font-variant-numeric: tabular-num
|
|||
.cols, .bank-wrap { grid-template-columns: 1fr; }
|
||||
.chip { max-width: 100%; }
|
||||
.chip.act .label { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
|
||||
#toasts { left: 16px; right: 16px; }
|
||||
html.menu-open #toasts { display: none; }
|
||||
.stats { grid-template-columns: repeat(2, 1fr); }
|
||||
.skill-head { flex-wrap: wrap; }
|
||||
.skill-head .info { flex-basis: 60%; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue