Skip to content

fix(selection-popup): UI refinements for translate feature#11

Merged
bingran-you merged 1 commit intomasterfrom
fix/on-select-translate-ui
Jan 27, 2026
Merged

fix(selection-popup): UI refinements for translate feature#11
bingran-you merged 1 commit intomasterfrom
fix/on-select-translate-ui

Conversation

@thokap
Copy link
Copy Markdown
Contributor

@thokap thokap commented Jan 27, 2026

Summary

  • Align 'Translate' header with 'Translate from' label
  • Add divider line between colors/toggle and translation section
  • Increase label font-size from 11px to 13px
  • Pre-translate button: transparent by default, show box only on hover

Test plan

  • Select text in PDF, verify popup appearance
  • Check alignment of "Translate" with "Translate from"
  • Verify divider line in both light and dark mode
  • Confirm pre-translate button shows box only on hover

- Add expanded/collapsed state styling for translate feature
- Add divider line between colors/toggle and translation section
- Style translate controls, labels, buttons, and result box
- Pre-translate button: transparent by default, show box only on hover
- Align header with labels, increase label font-size to 13px
@thokap thokap force-pushed the fix/on-select-translate-ui branch from c4c1c5d to f47728e Compare January 27, 2026 01:24
@bingran-you bingran-you merged commit 611e3d8 into master Jan 27, 2026
2 checks passed
@bingran-you bingran-you deleted the fix/on-select-translate-ui branch January 27, 2026 01:29
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.

2 participants