From 84e4f45bb68dbe4aaa71c2720d42f821ccb91af3 Mon Sep 17 00:00:00 2001 From: chelentos Date: Fri, 22 Sep 2023 15:07:36 +0300 Subject: [PATCH] fix(DocsDecorator): add new css prefix support --- src/demo/DocsDecorator/DocsDecorator.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/demo/DocsDecorator/DocsDecorator.scss b/src/demo/DocsDecorator/DocsDecorator.scss index cf39156618..7f2ea32dcb 100644 --- a/src/demo/DocsDecorator/DocsDecorator.scss +++ b/src/demo/DocsDecorator/DocsDecorator.scss @@ -9,8 +9,8 @@ $root: '.docs-decorator'; #{$root}#{$root}#{$root}#{$root}#{$root} { p, - li:not([class*='yc-']), - a:not([class*='yc-']) { + li:not([class*='yc-']):not([class*='g-']), + a:not([class*='yc-']):not([class*='g-']) { @include mixins.text-body-2; } @@ -23,8 +23,8 @@ $root: '.docs-decorator'; } p, - ul:not([class*='yc-']), - ol:not([class*='yc-']) { + ul:not([class*='yc-']):not([class*='g-']), + ol:not([class*='yc-']):not([class*='g-']) { margin: $offset-xs 0; & + p, @@ -34,12 +34,12 @@ $root: '.docs-decorator'; } } - li + li:not([class*='yc-']) { + li + li:not([class*='yc-']):not([class*='g-']) { margin-top: $offset-xs; } - ul:not([class*='yc-']), - ol:not([class*='yc-']) { + ul:not([class*='yc-']):not([class*='g-']), + ol:not([class*='yc-']):not([class*='g-']) { padding-left: $offset-m; } @@ -64,7 +64,7 @@ $root: '.docs-decorator'; margin-bottom: $offset-m; } - a:not([class*='yc-']) { + a:not([class*='yc-']):not([class*='g-']) { text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); @@ -78,7 +78,7 @@ $root: '.docs-decorator'; } p code, - li:not([class*='yc-']) code { + li:not([class*='yc-']):not([class*='g-']) code { @include mixins.text-code-inline-2; line-height: 1; padding: 1px 4px;