telerik / themebuilder

This public repository aims at providing a convenient way for developers using ThemeBuilder to report and log any issues they may encounter while using the tool. If you think that you've found a bug, you're more than welcome to create a new issue
2 stars 1 forks source link

Duplication of CSS rules for the base button after migrating a project #117

Open petar-i-todorov opened 3 weeks ago

petar-i-todorov commented 3 weeks ago

Describe the bug There is a duplication of CSS rules for the base button after migrating a project.

To Reproduce Steps to reproduce the behavior:

  1. Create a 2024 Q1 project.
  2. Set styles to the Secondary Solid button (currently known as "base").
  3. Migrate the project to 2024 Q3.
  4. Set styles to the Base button.
  5. Export the package.

Actual Results The old CSS rule is preserved and now there is a duplication of CSS rules with the exact same selector. image

Expected behavior The old CSS rule is not preserved.

Additional context In the client's case, the old CSS rule appears after the new one and overrides its styles.

Reported through t.1665570.

petar-i-todorov commented 3 weeks ago

For a reproducible demo where the CSS rule with the new styling appears before the CSS rule with the old styling, reach out to me.