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:
+2
-1
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user