Skip to content

Commit 22bcdf1

Browse files
author
FalkWolsky
committed
Layout optimisation for Query Usage List
1 parent 94b19a0 commit 22bcdf1

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

client/packages/lowcoder/src/comps/queries/queryComp/queryPropertyView.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ function buildQueryUsageDataset(components: any[], queryName: string): any[] {
550550
return dataset;
551551
}
552552

553+
553554
const ComponentButton = (props: {
554555
componentType: string;
555556
componentName: string;
@@ -567,17 +568,18 @@ const ComponentButton = (props: {
567568
return (
568569
<Tooltip title={props.path} placement="top">
569570
<DataSourceButton onClick={handleClick}>
570-
<div style={{ display: "flex", alignItems: "flex-start", gap: "5px", width: "100%"}}>
571+
<div style={{ display: "flex", alignItems: "flex-start", gap: "0px", width: "100%"}}>
571572
<div style={{ flex: 1}}>
572573
{Icon && (
573-
<Icon style={{ margin: "0px", width: "32px" }} />
574+
<Icon style={{ margin: "6px 0px 0 -38px", width: "28px" }} />
574575
)}
575576
</div>
576-
<div style={{ flex: 2, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }}>
577+
<div style={{ flex: 2, textAlign: "left", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap", marginLeft: "-30px" }}>
577578
<div
578579
style={{
579-
marginTop: "5px",
580-
fontSize: "14px",
580+
marginTop: "11px",
581+
marginLeft: "0px",
582+
fontSize: "12px",
581583
fontWeight: "bold",
582584
maxWidth: "100%",
583585
overflow: "hidden",
@@ -592,7 +594,7 @@ const ComponentButton = (props: {
592594
</div>
593595
<div
594596
style={{
595-
fontSize: "12px",
597+
fontSize: "11px",
596598
fontWeight: "400",
597599
maxWidth: "100%",
598600
overflow: "hidden",

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