Skip to content

Commit 6d7a637

Browse files
fix code-editor hints tooltip hidden issue in bottom panel
1 parent a0471c3 commit 6d7a637

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

client/packages/lowcoder/src/base/codeEditor/codeEditor.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ const textStyle = css`
5151
export const CodeEditorTooltipContainer = styled.div`
5252
// tooltip common
5353
.cm-tooltip {
54-
z-index: ${Layers.codeEditorTooltip};
5554
border: 1px solid #d7d9e0;
55+
padding: 5px !important;
56+
margin-top: 5px !important;
57+
height: 120px;
5658
}
5759
// make sure antd popover in the code editor available
5860
.ant-popover {

client/packages/lowcoder/src/pages/editor/bottom/BottomContent.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,13 @@ export const BottomContent = () => {
143143
</Left>
144144
<Drag />
145145
<Right>
146-
<div style={{ width: "100%", height: "100%", minWidth: "480px" }}>
146+
<div style={{
147+
width: "100%",
148+
height: "100%",
149+
minWidth: "480px",
150+
display: "flex",
151+
flexDirection: "column",
152+
}}>
147153
<MetaDataContext.Provider value={metaData}>
148154
<CompNameContext.Provider
149155
value={editorState.selectedQueryComp()?.children.name.getView() || ""}

0 commit comments

Comments
 (0)