fix: size inventory window to fit mana rows

Grow the inventory window and mana panel dynamically based on tracked item count so all mana entries remain visible without introducing a scrollable panel.
This commit is contained in:
Erik 2026-03-13 07:23:35 +01:00
parent dc7b26676d
commit 4972b342d2
2 changed files with 25 additions and 3 deletions

View file

@ -761,7 +761,7 @@ body.noselect, body.noselect * {
.inv-top-section {
display: flex;
justify-content: flex-start;
height: 264px;
min-height: 264px;
gap: 10px;
}
@ -959,7 +959,7 @@ body.noselect, body.noselect * {
border: 1px solid var(--ac-border-light);
padding: 3px;
min-height: 0;
height: 260px;
min-height: 260px;
flex-shrink: 0;
overflow: hidden;
}
@ -2433,6 +2433,7 @@ table.ts-allegiance td:first-child {
background: #0e0c08 !important;
resize: none !important;
width: 548px !important;
min-height: 520px !important;
}
.inv-top-section {
@ -2448,7 +2449,7 @@ table.ts-allegiance td:first-child {
.inv-mana-panel {
width: 162px !important;
min-width: 162px !important;
height: 260px !important;
min-height: 260px !important;
background: #111014 !important;
border: 1px solid #5a4a24 !important;
overflow: hidden !important;