diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scss index 5b149dfa3e0..d7750cd1ae2 100644 --- a/app/src/assets/scss/business/_av.scss +++ b/app/src/assets/scss/business/_av.scss @@ -581,7 +581,7 @@ $backgrounds: ( [data-node-id][style*="background-color: var(#{$bg-variable})"] .av__container { --av-background: var(#{$bg-select-variable}) !important; } - &[data-node-id][style*="background-color: var(#{$bg-variable})"] .av__container { + &[data-node-id][style*="background-color: var(#{$bg-variable})"] > .av__container { --av-background: var(#{$bg-select-variable}) !important; } } @@ -624,7 +624,7 @@ $backgrounds: ( [data-node-id][style*="background-color: var(#{$bg-variable})"] .av__container { --av-background: var(#{$bg-select-variable}) !important; } - &[data-node-id][style*="background-color: var(#{$bg-variable})"] .av__container { + &[data-node-id][style*="background-color: var(#{$bg-variable})"] > .av__container { --av-background: var(#{$bg-select-variable}) !important; } }