Skip to content

[MT-23012] Polish UI alignment and global styling#29

Closed
kyrylo-yevdokymov wants to merge 4 commits into
mainfrom
codex/mt-23012-ui-polish
Closed

[MT-23012] Polish UI alignment and global styling#29
kyrylo-yevdokymov wants to merge 4 commits into
mainfrom
codex/mt-23012-ui-polish

Conversation

@kyrylo-yevdokymov

@kyrylo-yevdokymov kyrylo-yevdokymov commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

What & why

Polishes the small UI inconsistencies grouped under MT-23012, a sub-task of MT-22849:

  • keeps the sandbox link and message popout actions aligned;
  • centers toggle thumbs consistently with their labels;
  • themes scrollbars and keeps selected text readable.

The affected controls used a mix of wrapping flex rows, absolute positioning, and rem/px sizing, while browser-default scrollbar and selection colors did not match the app theme.

Impact

The controls retain their existing behavior but align consistently across message and connection views.

Verification

  • npm test — 58 tests passed
  • npm run lint — 0 errors; 4 existing warnings
  • npm run build — passed
  • git diff --check main...codex/mt-23012-ui-polish — passed

Kyrylo Yevdokymov and others added 4 commits July 13, 2026 13:23
The sandbox URL hint link in CloudConnectDialog rendered the
external-link icon as inline baseline content after a plain space, so
on narrow dialogs the icon wrapped onto its own line and sat low
relative to the text. Make the anchor an inline-flex row with the URL
truncating and the icon shrink-proof, so icon and text always share
one vertically centered row.

Jira MT-22849, finding 2a. Findings 2b/2c (Text/Raw and HTML pop-out
buttons) were already right-aligned via absolute top-0 right-0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The app root sets font-size: 14px (index.css), so rem-based spacing
utilities resolve to 87.5% of their nominal size: the track's w-8
rendered 28px instead of 32px and the thumb's h-3.5/w-3.5 rendered
12.25px instead of 14px. Mixed with the component's absolute px
offsets (h-[18px], after:top-[1px], after:left-[14px]) this left the
thumb riding high in the track (2px top gap vs 3.75px bottom) and
nearly touching the right edge when checked, and shifted the label
text 4px off the 42px toggleDesc indent that assumes a 32px track.

Pin the three rem-based sizes to their documented px values
(w-[32px], after:h-[14px], after:w-[14px]); the thumb is now
dead-centered in both states and the label/description columns line
up at every usage site.

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

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5f8a5cb1-40d1-4cd9-bac3-9bf34f9f02ab

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kyrylo-yevdokymov

Copy link
Copy Markdown
Contributor Author

Replaced by #40 using the repository-standard fix/mt-23012-ui-polish branch.

@kyrylo-yevdokymov
kyrylo-yevdokymov deleted the codex/mt-23012-ui-polish branch July 13, 2026 10:35
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