refactor: org settings (#11682)

This commit is contained in:
Udit Takkar authored and GitHub committed 2023-10-11 10:04:54 +01:00
1 parent 226ac889c7
commit ebc70feef0
27 files changed
+653 -402

No files matched your search

@@ -79,7 +79,7 @@ export const Select = <
cx("text-emphasis placeholder:text-muted flex gap-1", innerClassNames?.valueContainer),
multiValue: () =>
cx(
"bg-subtle text-default rounded-md py-1.5 px-2 flex items-center text-sm leading-none",
"bg-subtle text-default rounded-md py-1.5 px-2 flex items-center text-sm leading-tight",
innerClassNames?.multiValue
),
menu: () =>
@@ -46,7 +46,12 @@ function SettingsToggle({
<div className="flex w-full flex-col space-y-4 lg:flex-row lg:space-x-4 lg:space-y-0">
<fieldset className="block w-full flex-col sm:flex">
{toggleSwitchAtTheEnd ? (
<div className={classNames("flex justify-between space-x-3", switchContainerClassName)}>
<div
className={classNames(
"border-subtle flex justify-between space-x-3 rounded-lg border px-4 py-6 sm:px-6",
checked && children && "rounded-b-none",
switchContainerClassName
)}>
<div>
<div className="flex items-center">
<Label