Merge branch 'master' of github.com:makeplane/plane into build/merge_frontend_backend

This commit is contained in:
pablohashescobar 2022-12-01 23:05:37 +05:30
commit 45fe4b89db
55 changed files with 5928 additions and 937 deletions

View file

@ -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"

View file

@ -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";
};