Skip to content

Commit 6006734

Browse files
committed
Ensured Boostrap Utilities are correctly referenced
With the migration to Boostrap 5.0.0, the utilities need to be _configured_ via `utilities`, but _included_ via `utilities/api`. Without this, utilities such as `d-none` (used for responsive features) don't work correctly. This addressed an oversight from the Bootstrap 5.0.0 Beta 3 updates (#41, 987dfed, 1709b82).
1 parent 7b2dbd5 commit 6006734

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

OnTopic.Editor.AspNetCore/Shared/Styles/Style.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
@import "../../node_modules/bootstrap/scss/functions";
2424
@import "../../node_modules/bootstrap/scss/variables";
2525
@import "../../node_modules/bootstrap/scss/mixins";
26+
@import "../../node_modules/bootstrap/scss/utilities";
2627
@import "../../node_modules/bootstrap/scss/helpers";
2728

2829
// Basics
@@ -37,7 +38,7 @@
3738
// Extras
3839
@import "../../node_modules/bootstrap/scss/close";
3940
// @import "../../node_modules/bootstrap/scss/transitions";
40-
@import "../../node_modules/bootstrap/scss/utilities";
41+
@import "../../node_modules/bootstrap/scss/utilities/api";
4142

4243
// Components
4344
@import "../../node_modules/bootstrap/scss/alert";

0 commit comments

Comments
 (0)