Skip to content

style(midcuts): CC pill, retire like/flag from bar, full-width 3-line caption - #73

Merged
macayaven merged 1 commit into
mainfrom
style/midcuts-control-bar-caption-polish
Jun 21, 2026
Merged

macayaven merged 1 commit into
mainfrom
style/midcuts-control-bar-caption-polish

Conversation

@macayaven

Copy link
Copy Markdown
Owner

Summary

CSS-only polish on the v2 viewer control bar + library captions (no logic change).

Changes

  • CC button → gold-tinted pill with a subtle gold border (it's text, not a masked icon, so it needs a visible toggle body); active = gold fill; electric-blue focus ring removed.
  • Like/flag buttons retired from the control bar (kept wired, display: none).
  • Caption forced to full thumbnail width at 10px with zero padding, so all three lines (title / language / style) fit cleanly without Gradio's gallery-caption container bleed.

Test coverage

469 passed, 2 skipped locally (ruff + ruff format + pytest); CSS-only, no assertions affected.

🤖 Generated with Claude Code

…h 3-line caption

- CC button: gold-tinted pill body + subtle gold border (it's text, not a masked
  icon, so it needs a visible toggle body); kill the electric-blue focus ring.
- Hide the like/flag buttons from the control bar (kept wired, display:none).
- Caption: force full thumbnail width + 10px + zero padding so all 3 lines fit
  cleanly without Gradio's gallery-caption container bleed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@macayaven
macayaven merged commit 3ee6cdf into main Jun 21, 2026
2 checks passed
@macayaven
macayaven deleted the style/midcuts-control-bar-caption-polish branch June 21, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant