Equipment details wrap below the doll instead of clipping
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5facec9ee8
commit
8425989df3
1 changed files with 6 additions and 4 deletions
|
|
@ -473,8 +473,10 @@ button.sheet-skill:hover { background: var(--panel-2); }
|
||||||
.hands { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #d6b48a;
|
.hands { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #d6b48a;
|
||||||
border: 1px solid rgba(214, 180, 138, .5); border-radius: 4px; padding: 0 4px; }
|
border: 1px solid rgba(214, 180, 138, .5); border-radius: 4px; padding: 0 4px; }
|
||||||
|
|
||||||
/* Paper doll: a compact slot grid on a warrior's outline, details beside it */
|
/* Paper doll: a compact slot grid on a warrior's outline, details beside it, or below it once
|
||||||
.doll-wrap { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
|
they don't fit beside it (the side keeps its min-content width, so it wraps instead of clipping) */
|
||||||
|
.doll-wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: start; }
|
||||||
|
.doll-col { flex: none; }
|
||||||
.doll { position: relative; display: grid; grid-template-columns: repeat(3, 52px); gap: 8px; padding: 6px; }
|
.doll { position: relative; display: grid; grid-template-columns: repeat(3, 52px); gap: 8px; padding: 6px; }
|
||||||
.doll-figure { position: absolute; inset: -4px; display: grid; place-items: center; opacity: .09; pointer-events: none; }
|
.doll-figure { position: absolute; inset: -4px; display: grid; place-items: center; opacity: .09; pointer-events: none; }
|
||||||
.doll-figure .gi { width: 100%; height: 100%; }
|
.doll-figure .gi { width: 100%; height: 100%; }
|
||||||
|
|
@ -489,13 +491,13 @@ button.sheet-skill:hover { background: var(--panel-2); }
|
||||||
.doll-slot .hands { position: absolute; top: 2px; right: 2px; font-size: 9px; padding: 0 3px; }
|
.doll-slot .hands { position: absolute; top: 2px; right: 2px; font-size: 9px; padding: 0 3px; }
|
||||||
.doll-slot.small { width: 40px; height: 40px; cursor: default; }
|
.doll-slot.small { width: 40px; height: 40px; cursor: default; }
|
||||||
.doll-slot.small .gi { width: 26px; height: 26px; }
|
.doll-slot.small .gi { width: 26px; height: 26px; }
|
||||||
.doll-side { min-width: 0; }
|
.doll-side { flex: 1 1 0; }
|
||||||
.worn-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
|
.worn-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
|
||||||
.worn-head > span:nth-child(2) { display: grid; }
|
.worn-head > span:nth-child(2) { display: grid; }
|
||||||
.worn-head .ico .gi { width: 22px; height: 22px; }
|
.worn-head .ico .gi { width: 22px; height: 22px; }
|
||||||
.worn-head .btn { margin-left: auto; }
|
.worn-head .btn { margin-left: auto; }
|
||||||
.tool-slots { display: flex; flex-wrap: wrap; gap: 8px; }
|
.tool-slots { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||||
@media (max-width: 520px) { .doll-wrap { grid-template-columns: 1fr; justify-items: center; } .doll-side { width: 100%; } }
|
@media (max-width: 520px) { .doll-wrap { justify-content: center; } .doll-side { flex-basis: 100%; } }
|
||||||
|
|
||||||
/* Swapping gear from the doll */
|
/* Swapping gear from the doll */
|
||||||
.swap-head { margin-top: 2px; }
|
.swap-head { margin-top: 2px; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue