Skip to content

Commit 071f5b9

Browse files
authored
fix(content-explorer): remove base styles (#4063)
* fix(content-explorer): remove base styles * fix: lower specificity for non-migrated elements
1 parent 5d0c716 commit 071f5b9

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

src/elements/common/base.scss

+14-6
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@
6666
.be {
6767
@include reset;
6868

69-
// links have tag styles
70-
@import '../../styles/common/links';
71-
72-
// Forms have tag styles
73-
@import '../../styles/common/forms';
74-
@include be-content;
7569
/* stylelint-disable declaration-no-important */
7670
box-sizing: border-box !important;
7771
width: 100%;
@@ -89,6 +83,20 @@
8983
}
9084
}
9185

86+
// Elements migrated to Blueprint should not use base styles
87+
.bcow,
88+
.bcp,
89+
.bcpr,
90+
.bcs,
91+
.bdl-UnifiedShareForm {
92+
// links have tag styles
93+
@import '../../styles/common/links';
94+
95+
// Forms have tag styles
96+
@import '../../styles/common/forms';
97+
@include be-content;
98+
}
99+
92100
.be-modal {
93101
// This class can be used to apply the base content reset to portalled elements are outside of the .be root
94102
// Also add the .be class to the inner content to get the rest of the styles

0 commit comments

Comments
 (0)