From e8679348ca29c85b470a6b04a821d7143d4acf16 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Tue, 7 May 2024 15:19:24 +0100 Subject: [PATCH] drop !important from details styling (#2611) * drop !important from details styling * Create short-flies-tie.md --------- Co-authored-by: Katie Langerman <18661030+langermank@users.noreply.github.com> --- .changeset/short-flies-tie.md | 5 +++++ src/base/base.scss | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/short-flies-tie.md diff --git a/.changeset/short-flies-tie.md b/.changeset/short-flies-tie.md new file mode 100644 index 0000000000..6293917bd9 --- /dev/null +++ b/.changeset/short-flies-tie.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +drop !important from details styling diff --git a/src/base/base.scss b/src/base/base.scss index dbf662b2c2..5d123ef253 100644 --- a/src/base/base.scss +++ b/src/base/base.scss @@ -100,7 +100,7 @@ details { &:not([open]) { // Set details content hidden by default for browsers that don't do this > *:not(summary) { - display: none !important; + display: none; } } }