Merged
requested to merge github/fork/julien-deramond/main-jd-fix-duplicate-rounded-and-fw-utilities-in-examples into main
Description
https://github.com/twbs/bootstrap/commit/c73480c63660d0643434e07c9a522758c21a272d brings new .fw-semibold, .rounded-4 and .rounded-5 into Bootstrap. The refactoring of examples to use more utility classes defined those as well so this PR fixes the duplicates and reajust the values for .rounded-4 to .rounded-6 in examples due to the change of values.
-
.fw-semiboldwas defined insite/content/docs/5.1/examples/sidebars/sidebars.cssand set to the same value600so can be removed -
.rounded-4was defined insite/layouts/_default/examples.htmland set to.5remwhich corresponds to the new value of.rounded-3so I needed to switch all.rounded-4in examples to.rounded-3. -
.rounded-5was defined insite/layouts/_default/examples.htmland set to.75rem. There's no such value in the utilities so I dropped the class and set this value directly in the CSS files- Note: I slightly changed the value for the "Sign up for free" modal example.
-
.rounded-6was defined insite/layouts/_default/examples.htmland set to1remwhich corresponds to the new.rounded-4utility set as well to1rem(xl) so I needed to switch all.rounded-6in examples to.rounded-4.
Motivation & Context
Fix the regressions in the examples
Types of changes
-
Bug fix (non-breaking change which fixes an issue)
Checklist
-
I have read the contributing guidelines -
My code follows the code style of the project (using npm run lint) -
All new and existing tests passed
Related issues
N/A