Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e9aa66

Browse files
committed
[FIX] GlobalCSS add class name in root
1 parenta7e34c9 commit6e9aa66

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎client/packages/lowcoder/src/comps/comps/rootComp.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import { useUserViewMode } from "util/hooks";
3535
importReactfrom"react";
3636
import{isEqual}from"lodash";
3737
import{LoadingBarHideTrigger}from"@lowcoder-ee/util/hideLoading";
38+
importclsxfrom"clsx";
3839
constEditorView=lazy(
3940
()=>import("pages/editor/editorView"),
4041
);
@@ -130,7 +131,11 @@ const RootView = React.memo((props: RootViewProps) => {
130131
}
131132

132133
return(
133-
<div{...divProps}style={{height:'100%'}}>
134+
<div{...divProps}
135+
className={clsx(
136+
divProps.id,
137+
)}
138+
style={{height:'100%'}}>
134139
<PropertySectionContext.Providervalue={propertySectionContextValue}>
135140
<ThemeContext.Providervalue={themeContextValue}>
136141
<EditorContext.Providervalue={editorState}>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp