[WEB-4890]fix: dropdown width #7778
This commit is contained in:
parent
8ee665f491
commit
76a0b38dd1
12 changed files with 0 additions and 12 deletions
|
|
@ -92,7 +92,6 @@ export const SingleUserSelect: React.FC<Props> = ({ collaborator, index, users,
|
|||
newUsers[index].email = "";
|
||||
setUsers(newUsers);
|
||||
}}
|
||||
optionsClassName="w-full"
|
||||
noChevron
|
||||
>
|
||||
{importOptions.map((option) => (
|
||||
|
|
|
|||
|
|
@ -181,7 +181,6 @@ export const JiraGetImportDetail: React.FC = observer(() => {
|
|||
)}
|
||||
</span>
|
||||
}
|
||||
optionsClassName="w-full"
|
||||
>
|
||||
{workspaceProjectIds && workspaceProjectIds.length > 0 ? (
|
||||
workspaceProjectIds.map((projectId) => {
|
||||
|
|
|
|||
|
|
@ -96,7 +96,6 @@ export const JiraImportUsers: FC = () => {
|
|||
input
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
optionsClassName="w-full"
|
||||
label={<span className="capitalize">{Boolean(value) ? value : ("Ignore" as any)}</span>}
|
||||
>
|
||||
<CustomSelect.Option value="invite">Invite by email</CustomSelect.Option>
|
||||
|
|
|
|||
|
|
@ -268,7 +268,6 @@ export const CreateWorkspace: React.FC<Props> = observer((props) => {
|
|||
}
|
||||
buttonClassName="!border-[0.5px] !border-custom-border-300 !shadow-none !rounded-md"
|
||||
input
|
||||
optionsClassName="w-full"
|
||||
>
|
||||
{ORGANIZATION_SIZE.map((item) => (
|
||||
<CustomSelect.Option key={item} value={item}>
|
||||
|
|
|
|||
|
|
@ -126,7 +126,6 @@ export const LanguageTimezone = observer(() => {
|
|||
onChange={handleLanguageChange}
|
||||
buttonClassName={"border-none"}
|
||||
className="rounded-md border !border-custom-border-200"
|
||||
optionsClassName="w-full"
|
||||
input
|
||||
>
|
||||
{SUPPORTED_LANGUAGES.map((item) => (
|
||||
|
|
|
|||
|
|
@ -293,7 +293,6 @@ export const SendProjectInvitationModal: React.FC<Props> = observer((props) => {
|
|||
</div>
|
||||
}
|
||||
input
|
||||
optionsClassName="w-full"
|
||||
>
|
||||
{Object.entries(
|
||||
checkCurrentOptionWorkspaceRole(watch(`members.${index}.member_id`))
|
||||
|
|
|
|||
|
|
@ -168,7 +168,6 @@ export const AccountTypeColumn: React.FC<AccountTypeProps> = observer((props) =>
|
|||
}
|
||||
buttonClassName={`!px-0 !justify-start hover:bg-custom-background-100 ${errors.role ? "border-red-500" : "border-none"}`}
|
||||
className="rounded-md p-0 w-32"
|
||||
optionsClassName="w-full"
|
||||
input
|
||||
>
|
||||
{Object.entries(checkCurrentOptionWorkspaceRole(rowData.member.id)).map(([key, label]) => (
|
||||
|
|
|
|||
|
|
@ -195,7 +195,6 @@ export const NotificationSnoozeModal: FC<TNotificationSnoozeModal> = (props) =>
|
|||
)}
|
||||
</div>
|
||||
}
|
||||
optionsClassName="w-full"
|
||||
input
|
||||
>
|
||||
<div className="mb-2 flex h-9 w-full overflow-hidden rounded">
|
||||
|
|
|
|||
|
|
@ -228,7 +228,6 @@ export const CreateWorkspaceForm: FC<Props> = observer((props) => {
|
|||
}
|
||||
buttonClassName="!border-[0.5px] !border-custom-border-200 !shadow-none"
|
||||
input
|
||||
optionsClassName="w-full"
|
||||
>
|
||||
{ORGANIZATION_SIZE.map((item) => (
|
||||
<CustomSelect.Option key={item} value={item}>
|
||||
|
|
|
|||
|
|
@ -83,7 +83,6 @@ export const InvitationFields = observer((props: TInvitationFieldsProps) => {
|
|||
value={value}
|
||||
label={<span className="text-xs sm:text-sm">{ROLE[value]}</span>}
|
||||
onChange={onChange}
|
||||
optionsClassName="w-full"
|
||||
className="flex-grow w-24"
|
||||
input
|
||||
>
|
||||
|
|
|
|||
|
|
@ -146,7 +146,6 @@ export const AccountTypeColumn: React.FC<AccountTypeProps> = observer((props) =>
|
|||
}
|
||||
buttonClassName={`!px-0 !justify-start hover:bg-custom-background-100 ${errors.role ? "border-red-500" : "border-none"}`}
|
||||
className="rounded-md p-0 w-32"
|
||||
optionsClassName="w-full"
|
||||
input
|
||||
>
|
||||
{Object.keys(ROLE).map((item) => (
|
||||
|
|
|
|||
|
|
@ -241,7 +241,6 @@ export const WorkspaceDetails: FC = observer(() => {
|
|||
ORGANIZATION_SIZE.find((c) => c === value) ??
|
||||
t("workspace_settings.settings.general.errors.company_size.select_a_range")
|
||||
}
|
||||
optionsClassName="w-full"
|
||||
buttonClassName="!border-[0.5px] !border-custom-border-200 !shadow-none"
|
||||
input
|
||||
disabled={!isAdmin}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue