Merge branch 'master' of github.com:makeplane/plane into build/merge_frontend_backend
This commit is contained in:
commit
45fe4b89db
55 changed files with 5928 additions and 937 deletions
|
|
@ -13,7 +13,7 @@ const SearchListbox: React.FC<Props> = ({
|
|||
value,
|
||||
multiple: canSelectMultiple,
|
||||
icon,
|
||||
width,
|
||||
width = "sm",
|
||||
optionsFontsize,
|
||||
buttonClassName,
|
||||
optionsClassName,
|
||||
|
|
@ -83,7 +83,9 @@ const SearchListbox: React.FC<Props> = ({
|
|||
>
|
||||
<Combobox.Options
|
||||
className={`absolute mt-1 bg-white shadow-lg rounded-md py-1 ring-1 ring-black ring-opacity-5 focus:outline-none max-h-32 overflow-auto z-10 ${
|
||||
width === "sm"
|
||||
width === "xs"
|
||||
? "w-20"
|
||||
: width === "sm"
|
||||
? "w-32"
|
||||
: width === "md"
|
||||
? "w-48"
|
||||
|
|
|
|||
2
apps/plane/ui/SearchListbox/types.d.ts
vendored
2
apps/plane/ui/SearchListbox/types.d.ts
vendored
|
|
@ -9,6 +9,6 @@ export type Props = {
|
|||
icon?: JSX.Element;
|
||||
buttonClassName?: string;
|
||||
optionsClassName?: string;
|
||||
width?: "sm" | "md" | "lg" | "xl" | "2xl";
|
||||
width?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
||||
optionsFontsize?: "sm" | "md" | "lg" | "xl" | "2xl";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue