From 419f1b34b377fe145341b17234eb4326ae07e1c7 Mon Sep 17 00:00:00 2001 From: JimmFly <447268514@qq.com> Date: Tue, 14 May 2024 07:39:24 +0000 Subject: [PATCH] fix(core): unexpected toast style in editor (#6924) image --- packages/frontend/component/src/ui/scrollbar/index.css.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/component/src/ui/scrollbar/index.css.ts b/packages/frontend/component/src/ui/scrollbar/index.css.ts index a93d9c8d71b18..dcfb329834cdc 100644 --- a/packages/frontend/component/src/ui/scrollbar/index.css.ts +++ b/packages/frontend/component/src/ui/scrollbar/index.css.ts @@ -27,7 +27,7 @@ export const scrollableViewport = style({ height: '100%', width: '100%', }); -globalStyle(`${scrollableViewport} > div`, { +globalStyle(`${scrollableViewport} >:first-child`, { display: 'contents !important', }); export const scrollableContainer = style({