Skip to content

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

Merged
kyrylo-yevdokymov merged 4 commits into
mainfrom
fix/mt-23012-ui-polish
Jul 14, 2026
Merged

[MT-23012] Polish UI alignment and global styling#40
kyrylo-yevdokymov merged 4 commits into
mainfrom
fix/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.

Screenshots

Message pop-out action aligned in its own row (Raw tab)

Before After

Themed text-selection color

Before After

Verification

  • npm test — 58 tests passed
  • npm run lint — 0 errors; 4 existing warnings
  • npm run build — passed
  • git diff --check main...fix/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

Warning

Review limit reached

@kyrylo-yevdokymov, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 53 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 196460dc-c340-4e1f-9afa-25aee9ddb5df

📥 Commits

Reviewing files that changed from the base of the PR and between 9ce8945 and ba633f6.

📒 Files selected for processing (5)
  • frontend/src/components/connections/CloudConnectDialog.tsx
  • frontend/src/components/message/CodePane.tsx
  • frontend/src/components/message/MessagePreview.tsx
  • frontend/src/components/ui/Toggle.tsx
  • frontend/src/index.css

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

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@kyrylo-yevdokymov
kyrylo-yevdokymov marked this pull request as ready for review July 13, 2026 10:43

@roman-adamchik roman-adamchik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kyrylo-yevdokymov
kyrylo-yevdokymov merged commit 31e9328 into main Jul 14, 2026
9 checks passed
@kyrylo-yevdokymov
kyrylo-yevdokymov deleted the fix/mt-23012-ui-polish branch July 14, 2026 15:14
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.

4 participants