web: rename a folder, and add one from the empty column

A folder's own menu gains a rename, which paints a label over the folder
without moving it — the frame ids and the recipes hang off the directory's
name, not the label. The empty part of the column answers a right click
with ADD FOLDER, the FOLDERS heading goes (the count already rides on
each row), and the column narrows to 118px so the stage takes the room.
This commit is contained in:
2026-09-28 18:38:02 +07:00
parent 19fd5b644f
commit 4c65923eff
6 changed files with 133 additions and 26 deletions
+10 -1
View File
@@ -1006,7 +1006,16 @@ input[type="range"] { width: 100%; accent-color: var(--accent); }
/* The column: title and the folder's own chips stay put, the split takes what
is left, the strip keeps its natural height on the bottom. */
.lib-root .adm-col { flex: 1 1 auto; min-height: 0; }
.lib-root .adm-col > .adm-split { flex: 1 1 auto; min-height: 0; align-items: stretch; }
/* The column of folders is a list of names and a count — the stage is the point
of the screen, so the column takes the least it can and gives the rest away. */
.lib-root .adm-col > .adm-split {
flex: 1 1 auto;
min-height: 0;
align-items: stretch;
grid-template-columns: minmax(88px, 118px) minmax(0, 1fr);
gap: 8px;
}
.lib-root .adm-album { padding: 6px 8px; gap: 6px; }
.lib-root .adm-col > .adm-filmstrip { flex: 0 0 auto; }
.lib-root .adm-album-list { max-height: none; flex: 1 1 auto; min-height: 0; }
.lib-root .adm-stage { min-height: 0; overflow: hidden; }