Skip to content

Commit 564fa1a

Browse files
harsh-vadorclaude
andcommitted
style(ui-core): FilterSelect helper text moves to the popover footer
The legacy dropdown pinned its helper line under the scrollable list; only the options scroll, the helper stays visible. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent d980c37 commit 564fa1a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • openmetadata-ui-core-components/src/main/resources/ui/src/components/application/filter-select

openmetadata-ui-core-components/src/main/resources/ui/src/components/application/filter-select/filter-select.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,6 @@ export const FilterSelect = ({
378378
</div>
379379
)}
380380

381-
{helperText !== undefined && (
382-
<div className="tw:px-4 tw:pb-2 tw:text-xs tw:text-tertiary">
383-
{helperText}
384-
</div>
385-
)}
386-
387381
{showSelectAllRow && (
388382
<div className="tw:px-4 tw:py-2">
389383
<Checkbox
@@ -441,6 +435,12 @@ export const FilterSelect = ({
441435
</Dropdown.Menu>
442436
)}
443437

438+
{helperText !== undefined && (
439+
<div className="tw:border-t tw:border-secondary tw:px-3 tw:py-2 tw:text-xs tw:text-tertiary">
440+
{helperText}
441+
</div>
442+
)}
443+
444444
{showFooter && (
445445
<div className="tw:flex tw:items-center tw:justify-between tw:gap-2 tw:border-t tw:border-secondary tw:p-2">
446446
<Button

0 commit comments

Comments
 (0)