Skip to content

Commit 0bcdd2a

Browse files
committed
fix(dashboard): prevent vertical filter overlap
1 parent 43e9e1e commit 0bcdd2a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls

superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterControl.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ const VerticalFilterControlContainer = styled(AllFilterControlContainer)`
104104
.ant-form-item-tooltip {
105105
margin-bottom: ${({ theme }) => theme.sizeUnit}px;
106106
}
107+
108+
.ant-col.ant-form-item-label {
109+
min-height: auto;
110+
}
107111
`;
108112

109113
const HorizontalFilterControlContainer = styled(AllFilterControlContainer)`
@@ -154,6 +158,11 @@ const VerticalFormItem = styled(StyledFormItem)<{
154158
flex-direction: column;
155159
`}
156160
}
161+
162+
// Override Ant Design's min-height constraint to allow dynamic vertical expansion
163+
.ant-col {
164+
min-height: auto;
165+
}
157166
`;
158167

159168
const HorizontalFormItem = styled(StyledFormItem)<{

0 commit comments

Comments
 (0)