Skip to content

Fix bootstrap3 select-width-item-border incompatible value#1811

Merged
risadams merged 1 commit intoselectize:masterfrom
nbluis:master
May 26, 2022
Merged

Fix bootstrap3 select-width-item-border incompatible value#1811
risadams merged 1 commit intoselectize:masterfrom
nbluis:master

Conversation

@nbluis
Copy link
Contributor

@nbluis nbluis commented May 25, 2022

The propose of the change is to solve a bug when we try to import the dist/selectize.bootstrap3.css using a CSS compiler like SASS.

The compiler throw an error of incompatible type in the calc function because we are trying to subtract a pixel value from a non defined value 0.

Error: 5px and 0 are incompatible.
  ╷
2 │       6px - 1px - 0
  │       ^^^^^^^^^^^^^
  ╵
  @selectize/selectize/dist/css/selectize.bootstrap3.css 2:7  @import

With this change, the result of this expressions will be like 6px - 1px - 0px instead of
6px - 1px - 0 making it compile correctly.

@risadams risadams merged commit 367bca7 into selectize:master May 26, 2022
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.

2 participants