Skip to content

fix(ui): make range slider vertically centerable - #1689

Open
Ayan-Alam25 wants to merge 1 commit into
themesberg:mainfrom
Ayan-Alam25:fix/range-slider-vertical-align
Open

fix(ui): make range slider vertically centerable#1689
Ayan-Alam25 wants to merge 1 commit into
themesberg:mainfrom
Ayan-Alam25:fix/range-slider-vertical-align

Conversation

@Ayan-Alam25

Copy link
Copy Markdown

Motivation

Fixes #1202. The <input type="range"> element's default display is inline-block, which aligns it to the text baseline. This causes it to sit slightly lower than the vertical center inside container boxes. Changing the display to block and aligning the root wrapper items vertically resolves this vertical offset, centering the range slider perfectly.

Screenshot 2026-08-24 160126

Breaking Changes

None.

@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

@Ayan-Alam25 is attempting to deploy a commit to the Bergside Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Aug 24, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 6bd5249

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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.

Range slider is not vertically centerable

1 participant