files: left-align the preview toolbar (#698)

* files: left-align the preview toolbar, Open joins the button row

The modal actions row packs its children to the right, which suits a
confirming button but stranded the preview's toolbar. The toolbar now
fills the row so its buttons read from the left, with Open first in
the same row as Download. On phones the tags selector always takes its
own line instead of squeezing in beside the buttons.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* tags: the add-tag button is violet like every other tag button

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* share: a real button everywhere but the navbar corner

The share trigger was a bare anchor-wrapped glyph, which matched the
navbar's other corner icons but looked out of place beside real buttons
in the file preview toolbar. It is an IconButton by default now; the
navbar keeps the bare glyph via asIcon.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
lrnselfreliance 2026-09-03 16:03:17 -06:00 • committed by GitHub
parent 9b8ebdc9b3
commit 88d5d55283
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 30 additions and 12 deletions

View file

@ -3941,7 +3941,7 @@ describe('the icon-only triggers in the navbar corner are reachable', () => {
* classes I expected the components to have, so reverting SearchIconButton to the old
* `item` left it green -- it was measuring my markup, not the app's.
*/
const corner = <NavIconWrapper><ShareButton/></NavIconWrapper>;
const corner = <NavIconWrapper><ShareButton asIcon/></NavIconWrapper>;
const triggers = {
share: '.wrolpi-navbar-icon a',