fix dropdown maxheight
This commit is contained in:
1 parent
b822374faa
commit
df29c16c00
11 files changed
+13
-11
No files matched your search
@@ -72,12 +72,12 @@ export function BoardSelect({
|
||||
...buttonProps?.style,
|
||||
},
|
||||
}}
|
||||
maxHeight={480}
|
||||
listProps={{
|
||||
...listProps,
|
||||
renderEmptyState:
|
||||
listProps?.renderEmptyState || (() => <Empty message={t(messages.noResultsFound)} />),
|
||||
style: {
|
||||
maxHeight: 'calc(42vh - 65px)',
|
||||
width: 280,
|
||||
...listProps?.style,
|
||||
},
|
||||
|
||||
@@ -13,7 +13,7 @@ export function CurrencySelect({ value, onChange }) {
|
||||
value={value}
|
||||
defaultValue={value}
|
||||
onChange={onChange}
|
||||
listProps={{ style: { maxHeight: 300 } }}
|
||||
maxHeight={480}
|
||||
onSearch={setSearch}
|
||||
allowSearch
|
||||
>
|
||||
|
||||
@@ -76,12 +76,12 @@ export function LinkSelect({
|
||||
...buttonProps?.style,
|
||||
},
|
||||
}}
|
||||
maxHeight={480}
|
||||
listProps={{
|
||||
...listProps,
|
||||
renderEmptyState:
|
||||
listProps?.renderEmptyState || (() => <Empty message={t(messages.noResultsFound)} />),
|
||||
style: {
|
||||
maxHeight: 'calc(42vh - 65px)',
|
||||
width: 280,
|
||||
...listProps?.style,
|
||||
},
|
||||
|
||||
@@ -76,12 +76,12 @@ export function PixelSelect({
|
||||
...buttonProps?.style,
|
||||
},
|
||||
}}
|
||||
maxHeight={480}
|
||||
listProps={{
|
||||
...listProps,
|
||||
renderEmptyState:
|
||||
listProps?.renderEmptyState || (() => <Empty message={t(messages.noResultsFound)} />),
|
||||
style: {
|
||||
maxHeight: 'calc(42vh - 65px)',
|
||||
width: 280,
|
||||
...listProps?.style,
|
||||
},
|
||||
|
||||
@@ -50,9 +50,9 @@ export function UserSelect({
|
||||
onSearch={handleSearch}
|
||||
onChange={handleChange}
|
||||
onOpenChange={handleOpenChange}
|
||||
maxHeight={480}
|
||||
listProps={{
|
||||
renderEmptyState: () => <Empty message={t(messages.noResultsFound)} />,
|
||||
style: { maxHeight: 'calc(42vh - 65px)' },
|
||||
}}
|
||||
>
|
||||
{listItems.map(({ id, username }) => (
|
||||
|
||||
@@ -91,12 +91,12 @@ export function WebsiteSelect({
|
||||
...buttonProps?.style,
|
||||
},
|
||||
}}
|
||||
maxHeight={480}
|
||||
listProps={{
|
||||
...listProps,
|
||||
renderEmptyState:
|
||||
listProps?.renderEmptyState || (() => <Empty message={t(messages.noResultsFound)} />),
|
||||
style: {
|
||||
maxHeight: 'calc(42vh - 65px)',
|
||||
width: 280,
|
||||
...listProps?.style,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user