CSS-in-JS-generator icon indicating copy to clipboard operation
CSS-in-JS-generator copied to clipboard

Variable interpolation does not work correctly with bootstrap 4, formControl is used before it's defined.

Open bwarner opened this issue 6 years ago • 2 comments

On line 3073 the definition for inputGroup references formControl before it is defined. This causes the wrong selector to be used.

Look like this is because the rule on line 3315

.btn-toolbar .input-group {
  width: auto;
}

Causes input-group to be generated before form-control which is defined later in the file.

Here is a screenshot of the css.

Screen Shot 2019-11-13 at 10 48 18 PM

bwarner avatar Nov 14 '19 06:11 bwarner

Screen Shot 2019-11-13 at 10 55 15 PM

bwarner avatar Nov 14 '19 06:11 bwarner

One way to solve this would be to generate files for each style, and have them inter-import.

krainboltgreene avatar Nov 27 '20 07:11 krainboltgreene