iTwin / iTwinUI

A design system for building beautiful and well-working web interfaces.
https://itwin.github.io/iTwinUI/
MIT License
92 stars 35 forks source link

work around incorrectly minified CSS in vertical slider #1992

Closed mayank99 closed 3 weeks ago

mayank99 commented 3 weeks ago

Changes

This is the same change as https://github.com/iTwin/iTwinUI/pull/1963#discussion_r1546746144 but for vertical slider. I haven't inspected the minified CSS, but it's likely caused by improper minification in esbuild.

The simple work around is to split ::before and -track into two separate rules.

Testing

Before After
image image

All (react-workshop) tests pass now

Docs

N/A. Users shouldn't encounter this change; it's mainly for react-workshop.