Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
chore: fix filter panel auto height (#5452)
ybzky3b5aff269809
diff --git a/packages/sheets-filter-ui/src/views/components/SheetsFilterByConditionsPanel.tsx b/packages/sheets-filter-ui/src/views/components/SheetsFilterByConditionsPanel.tsxindex e44b789081..513720accc 100644--- a/packages/sheets-filter-ui/src/views/components/SheetsFilterByConditionsPanel.tsx+++ b/packages/sheets-filter-ui/src/views/components/SheetsFilterByConditionsPanel.tsx@@ -83,7 +83,7 @@ export function FilterByCondition(props: { model: ByConditionsModel }) {return (<divdata-u-comp="sheets-filter-panel-conditions-container"- className="univer-flex univer-h-full univer-flex-col"+ className="univer-flex univer-h-full univer-min-h-[300px] univer-flex-col">{/* primary condition */}{(condition && formParams) && (diff --git a/packages/sheets-filter-ui/src/views/components/SheetsFilterByValuesPanel.tsx b/packages/sheets-filter-ui/src/views/components/SheetsFilterByValuesPanel.tsxindex 00595dd3bd..6ad833459a 100644--- a/packages/sheets-filter-ui/src/views/components/SheetsFilterByValuesPanel.tsx+++ b/packages/sheets-filter-ui/src/views/components/SheetsFilterByValuesPanel.tsx@@ -63,7 +63,7 @@ export function FilterByValue(props: { model: ByValuesModel }) {return (<divdata-u-comp="sheets-filter-panel-values-container"- className="univer-flex univer-h-full univer-flex-col"+ className="univer-flex univer-h-full univer-min-h-[300px] univer-flex-col"><InputautoFocus@@ -122,7 +122,7 @@ export function FilterByValue(props: { model: ByValuesModel }) {data={items}defaultExpandAll={false}valueGroup={extractCheckedKeys(items)}- height={180}+ // height={180}onChange={(node) => {model.onFilterCheckToggled(node as IFilterByValueWithTreeItem);}}diff --git a/packages/sheets-filter-ui/src/views/components/SheetsFilterPanel.tsx b/packages/sheets-filter-ui/src/views/components/SheetsFilterPanel.tsxindex 8375f83dea..40d2890e9a 100644--- a/packages/sheets-filter-ui/src/views/components/SheetsFilterPanel.tsx+++ b/packages/sheets-filter-ui/src/views/components/SheetsFilterPanel.tsx@@ -72,7 +72,7 @@ export function FilterPanel() {<divdata-u-comp="sheets-filter-panel"className={`- univer-box-border univer-flex univer-h-[442px] univer-w-[312px] univer-flex-col univer-rounded-lg+ univer-box-border univer-flex univer-max-h-[500px] univer-w-[312px] univer-flex-col univer-rounded-lguniver-bg-white univer-p-4 univer-shadow-lgdark:!univer-border-gray-600 dark:!univer-bg-gray-700`}