Content-Length: 280866 | pFad | http://github.com/lowcoder-org/lowcoder/commit/6e9aa6665463b3fdc0fb7cd3ed96814f777f8408

FA [FIX] GlobalCSS add class name in root · lowcoder-org/lowcoder@6e9aa66 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lowcoder-org/lowcoder/commit/6e9aa6665463b3fdc0fb7cd3ed96814f777f8408

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy