Skip to content

Commit 6e9aa66

Browse files
committed
[FIX] GlobalCSS add class name in root
1 parent a7e34c9 commit 6e9aa66

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
import React from "react";
3636
import { isEqual } from "lodash";
3737
import {LoadingBarHideTrigger} from "@lowcoder-ee/util/hideLoading";
38+
import clsx from "clsx";
3839
const EditorView = 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.Provider value={propertySectionContextValue}>
135140
<ThemeContext.Provider value={themeContextValue}>
136141
<EditorContext.Provider value={editorState}>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy