Skip to content

Commit

Permalink
fix(card): make sure [hidden] really means hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
m4olivei committed Dec 10, 2024
1 parent 5623d24 commit 8737e40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/styles/scss/components/card/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,10 @@
gap: $spacing-05;

&[hidden] {
display: none;
// Need important to force [hidden] to really mean hidden above many
// other variants setting display.
/* stylelint-disable declaration-no-important */
display: none !important;
}
}
}
Expand Down

0 comments on commit 8737e40

Please sign in to comment.