Skip to content

Commit 06d0b5a

Browse files
authored
Update reset.less
Any element with the `hidden` attribute should not be rendered. Therefore, the `[hidden]` attribute behaves more like a helper than a reset and needs `!important`.
1 parent d4c07f5 commit 06d0b5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helix-ui/styles/reset.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ html {
2929
@import 'reset/html5';
3030

3131
[hidden] {
32-
display: none;
32+
display: none !important;
3333
}
3434

3535
small {

0 commit comments

Comments
 (0)