mirror of
https://github.com/thegeneralist01/archivr
synced 2026-10-09 21:03:17 +02:00
fix(frontend): give text-capture row real CSS
The text row shipped with semantic classnames (`capture-text-inputs`, `capture-text-title`, `capture-text-body`, `capture-text-mime`, `capture-text-icon`) but no CSS rules. Falling through to the parent `.capture-row-main` flex-row (`display: flex; align-items: center`) meant the title, textarea, and mime-select stacked as intrinsic-width boxes centered on the tall body, producing a layout where the body floated to the top-right, the title box appeared BELOW it, and the mime selector rendered as an unstyled OS dropdown. Fix: - `.capture-text-row .capture-row-main` uses `align-items: flex-start` so the leading icon and trailing × pin to the top of the block. - `.capture-text-inputs` is now a full-width column-flex container with proper gaps. - `.capture-text-title` reuses the 44px input height and typography of `.capture-input`; `.capture-text-body` gets a 140px min-height, vertical resize, and matching border/focus treatment. - `.capture-text-mime` is styled as a small chip with a custom caret so it matches `.capture-quality` and stops looking like a raw `<select>`. Sits in a right-aligned footer under the body. - `.capture-text-icon` gets a 44px column so it aligns with the title input; remove button gets a small top-margin for the same reason. Rebuilt static bundle bumped as well (`index-BLxoi9rt.css`, `index-CQcpPA_I.js`).
This commit is contained in:
parent
e97a31c0d1
commit
067d766819
5 changed files with 197 additions and 30 deletions
1
crates/archivr-server/static/assets/index-BLxoi9rt.css
Normal file
1
crates/archivr-server/static/assets/index-BLxoi9rt.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -6,8 +6,8 @@
|
|||
<title>Archivr</title>
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||
<script type="module" crossorigin src="/assets/index-CthL4K20.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DicH9MNh.css">
|
||||
<script type="module" crossorigin src="/assets/index-CQcpPA_I.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BLxoi9rt.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue