mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Fix multiselect menu UI issues.
This commit is contained in:
parent
53a20dc19f
commit
65530d961b
3 changed files with 9 additions and 3 deletions
|
|
@ -103,11 +103,9 @@ const CustomMenuList = ({ selectProps, ...props }) => {
|
|||
{!optionsLoadingState && (
|
||||
<div
|
||||
ref={parentRef}
|
||||
className="dropdown-multiselect-widget-custom-menu-list-body"
|
||||
style={{
|
||||
maxHeight: selectProps.maxMenuHeight || 300,
|
||||
overflowY: 'auto',
|
||||
position: 'relative',
|
||||
padding: '5px 0',
|
||||
}}
|
||||
>
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
.dropdown-multiselect-widget-custom-menu-list-body {
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
padding: 5px 0;
|
||||
background-color: var(--surfaces-surface-01) !important;
|
||||
border-radius: 0 0 8px 8px;
|
||||
}
|
||||
|
|
@ -431,6 +431,7 @@ export const MultiselectV2 = ({
|
|||
menu: (provided) => ({
|
||||
...provided,
|
||||
marginTop: '5px',
|
||||
borderRadius: '8px',
|
||||
}),
|
||||
};
|
||||
const _width = (labelWidth / 100) * 70; // Max width which label can go is 70% for better UX calculate width based on this value
|
||||
|
|
|
|||
Loading…
Reference in a new issue