Compare commits

...

1 Commits

Author SHA1 Message Date
ahmadshaheer
b5d7ec4b78 fix: prevent the layout shift on interacting with filter, group by, ... in the query builder 2025-04-06 11:47:25 +04:30
3 changed files with 9 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
border-top: 1px solid var(--bg-slate-400); border-top: 1px solid var(--bg-slate-400);
border-bottom: 1px solid var(--bg-slate-400); border-bottom: 1px solid var(--bg-slate-400);
background: var(--bg-ink-400); background: var(--bg-ink-400);
width: 100%;
// height: 280px; // height: 280px;
// overflow: hidden; // overflow: hidden;
@@ -120,6 +121,9 @@
// height: 100%; // height: 100%;
scroll-snap-type: y mandatory; scroll-snap-type: y mandatory;
&-row {
width: 100%;
}
.query, .query,
.formula { .formula {

View File

@@ -4,5 +4,6 @@
} }
.qb-container { .qb-container {
width: 100%;
padding: 0 24px; padding: 0 24px;
} }

View File

@@ -329,7 +329,10 @@ export const Query = memo(function Query({
const isVersionV4 = version && version === ENTITY_VERSION_V4; const isVersionV4 = version && version === ENTITY_VERSION_V4;
return ( return (
<Row gutter={[0, 12]} className={`query-builder-${version}`}> <Row
gutter={[0, 12]}
className={`query-builder-queries-formula-container-row query-builder-${version}`}
>
<QBEntityOptions <QBEntityOptions
isMetricsDataSource={isMetricsDataSource} isMetricsDataSource={isMetricsDataSource}
showFunctions={ showFunctions={