fix(entries): size the multiline field from its content instead of a fixed height

A manual resize was lost on reopen: the row is rebuilt on every open, and remembering the height would not survive a restart either since localStorage is wiped when the ephemeral port changes the origin. Deriving it from the content removes the state entirely - the field is always the right size.
This commit is contained in:
r-zakarya
2026-07-31 18:31:26 +01:00
parent 2cab20eb76
commit 9dc9f625d6
3 changed files with 18 additions and 3 deletions
+2 -1
View File
@@ -1604,11 +1604,12 @@ input[type="range"]::-webkit-slider-thumb {
/* Multiline custom field (Notes). The row stays a grid, so the textarea just
grows in its own column and the buttons keep their places. */
.so-custom-multiline {
min-height: 72px;
min-height: 56px;
resize: vertical;
align-self: stretch;
font-family: inherit;
line-height: 1.5;
overflow-y: auto; /* JS caps the auto-grow; past that it scrolls */
}
/* Editable combobox for option-backed custom fields (card brand, expiry
year…). Input fills the cell; the arrow drops a menu of ALL options. */