Skip to content

Commit fb86cdd

Browse files
authored
Merge pull request #1541 from easyops-cn/steve/icons
fix(): fix hidden not working for some bricks (eo-icon/eo-flex-layout/eo-grid-layout)
2 parents c05d890 + e0a8b4a commit fb86cdd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

bricks/containers/src/flex-layout/flex-layout.shadow.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
display: flex;
33
}
44

5-
:host[hidden] {
5+
:host([hidden]) {
66
display: none;
77
}

bricks/containers/src/grid-layout/grid-layout.shadow.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
display: grid;
33
}
44

5-
:host[hidden] {
5+
:host([hidden]) {
66
display: none;
77
}
88

bricks/icons/src/general-icon/styles.shadow.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
box-sizing: content-box !important;
77
}
88

9-
:host[hidden] {
9+
:host([hidden]) {
1010
display: none;
1111
}
1212

bricks/icons/src/shared/icons.shadow.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
box-sizing: content-box !important;
77
}
88

9-
:host[hidden] {
9+
:host([hidden]) {
1010
display: none;
1111
}
1212

0 commit comments

Comments
 (0)