style: issue details page, feat: add to cycles

This commit is contained in:
Aaryan Khandelwal 2022-11-29 19:49:39 +05:30
parent 0bfb0a136a
commit 9727994c08
46 changed files with 2349 additions and 600 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";
};