Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Select causing layout shift in external monitor. #1925

Description

Bug report

Current Behavior

Select add --removed-body-scroll-bar-size: 15px on 24inch secondary monitor.
But when I visit on my 13inch, it's --removed-body-scroll-bar-size: 0px. The same value gets added to the margin-right property of body and it's causing a layout shift.

Suggested solution

By removing

body {
   margin-right: 15px !important;
}

Software Name(s) Version
Radix Package(s) Select
React n/a
Browser
Assistive tech
Node n/a
npm/yarn
Operating System MacOS

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions