From 44e3f1ef7c4ba8e67d29d2178bdedfdda28e5f69 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Thu, 29 Aug 2024 12:01:29 +0200 Subject: [PATCH] Fix story --- src/stories/CSSAtRules.stories.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stories/CSSAtRules.stories.jsx b/src/stories/CSSAtRules.stories.jsx index 30a04bb..e3141bc 100644 --- a/src/stories/CSSAtRules.stories.jsx +++ b/src/stories/CSSAtRules.stories.jsx @@ -60,7 +60,7 @@ export const DynamicStyles = { if (window.__dynamicRuleInjected) return window.__dynamicRuleInjected = true const sheet = Array.from(document.styleSheets).at(-1) - sheet.insertRule("@layer foo { .dynamic.button:hover { background-color: tomato } }") + sheet.insertRule("@layer foo { .dynamic.button:hover { background-color: tomato!important } }") emit(FORCE_REMOUNT, { storyId }) }, 100) return