Skip to content

fix(ui): reduce settings panel backdrop opacity, add dialog animations, fix clipped icons#31864

Open
cola0908 wants to merge 1 commit into
anomalyco:devfrom
cola0908:settings-panel-ui-fix
Open

fix(ui): reduce settings panel backdrop opacity, add dialog animations, fix clipped icons#31864
cola0908 wants to merge 1 commit into
anomalyco:devfrom
cola0908:settings-panel-ui-fix

Conversation

@cola0908

@cola0908 cola0908 commented Jun 11, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #31863

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The V2 settings panel has 4 UI issues:

  1. Backdrop too dark — The scrim overlay dims the background at 40% opacity (light) / 30% (dark), which feels heavy. Reduced to 20% in both modes.

  2. No open/close animation — The dialog appears and disappears instantly. Added 150ms ease-out fade-in and 100ms ease-in fade-out for both the overlay (opacity) and content (scale 0.97↔1 + opacity).

  3. Sidebar icons clipped — The settings sidebar trigger height was 28px, too tight for the 20px icons. Increased to 32px and removed overflow: clip on the tabs container.

  4. Titlebar icons clipped — V2 titlebar was 36px but Electron's native titlebar overlay expects 40px, causing the icon boxes to be cut off at the edges.

How did you verify your code works?

All changes are CSS-only (plus one data-closing attribute in the dialog context). Verified by reviewing the computed styles and animation keyframes. The changes are minimal and targeted — no logic changes that could break runtime behavior.

Screenshots / recordings

Before: heavy dark overlay, instant dialog appear/disappear, clipped icons in sidebar and titlebar.
After: lighter 20% overlay, smooth fade animations, icons fully visible.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

…s, fix clipped icons

- Reduce scrim opacity from 40%/30% to 20% for lighter backdrop dimming
- Add fade-in/fade-out animations for dialog overlay and content (150ms show, 100ms hide)
- Increase settings sidebar trigger height from 28px to 32px to prevent icon clipping
- Remove overflow: clip from tabs-v2 container to fix content clipping
- Increase V2 titlebar height from 36px to 40px to match Electron native titlebar overlay

Closes anomalyco#31863
@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Jun 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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.

fix(ui): settings panel backdrop too dark, missing animations, clipped icons

1 participant