From 9b7f94e19c4c4377c7c97e5d95dc579802dea4ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Poduszl=C3=B3?= <14854048+kripod@users.noreply.github.com> Date: Fri, 25 Oct 2024 22:29:57 +0200 Subject: [PATCH] fix(base): respect `hidden="until-found"` attribute --- .changeset/popular-hotels-bow.md | 5 +++++ base.css | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/popular-hotels-bow.md diff --git a/.changeset/popular-hotels-bow.md b/.changeset/popular-hotels-bow.md new file mode 100644 index 0000000..c214e6f --- /dev/null +++ b/.changeset/popular-hotels-bow.md @@ -0,0 +1,5 @@ +--- +"css-homogenizer": patch +--- + +fix(base): respect `hidden="until-found"` attribute diff --git a/base.css b/base.css index d4e85a0..ae915a9 100644 --- a/base.css +++ b/base.css @@ -91,7 +91,7 @@ textarea { resize: block; } -[hidden], +[hidden]:not([hidden="until-found"]), audio:not([controls]) { /* Prioritize default behavior over custom styles above */ display: none;