From 697a41d8c3b45775b54bb9e44427e399d0b9dc91 Mon Sep 17 00:00:00 2001 From: "stephen@cubedesigners.com" Date: Thu, 19 Mar 2020 12:46:09 +0000 Subject: [PATCH] CSS bug fix for lightbox. Wait #3470 @0:05 --- .../resources/assets/styles/components/lity-lightbox.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/themes/physioassist/resources/assets/styles/components/lity-lightbox.styl b/wp-content/themes/physioassist/resources/assets/styles/components/lity-lightbox.styl index 7c008529..0f77364e 100644 --- a/wp-content/themes/physioassist/resources/assets/styles/components/lity-lightbox.styl +++ b/wp-content/themes/physioassist/resources/assets/styles/components/lity-lightbox.styl @@ -7,7 +7,7 @@ overflow: hidden height: 100vw -:root .lity-close // :root needed because in dev mode, CSS from node_modules seems to be imported out of order, preventing overrides from working +.lity-container .lity-close // Extra specificity needed here because Webpack seems to import CSS from node_modules in wrong order when in dev mode position: absolute top: 16px !important right: 20px -- 2.39.5