💄 front: User rights modal had similar border issues as browser (#645)
This commit is contained in:
+5
-2
@@ -81,7 +81,10 @@ export const InternalUsersAccessManager = ({
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="rounded-md border-t mt-2 dark:border-zinc-700">
|
<div className="rounded-md border-t mt-2 dark:border-zinc-700">
|
||||||
<div className="p-4 flex flex-row items-center justify-center rounded-t-md border-x dark:border-zinc-700">
|
<div className={
|
||||||
|
"p-4 flex flex-row items-center justify-center rounded-t-md border-x dark:border-zinc-700"
|
||||||
|
+ (showResults ? ' rounded-b-md' : '')
|
||||||
|
}>
|
||||||
<div className="grow">
|
<div className="grow">
|
||||||
<InputDecorationIcon
|
<InputDecorationIcon
|
||||||
prefix={SearchIcon}
|
prefix={SearchIcon}
|
||||||
@@ -157,7 +160,7 @@ export const InternalUsersAccessManager = ({
|
|||||||
id={id}
|
id={id}
|
||||||
userId={user?.id}
|
userId={user?.id}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
className={(showResults ? '!rounded-none !rounded-t-md' : '') + (index === usersWithAccess.length - 1 ? ' rounded-b-md border-y' : ' border-t')}
|
className={(showResults ? '!rounded-none' : '') + (index === usersWithAccess.length - 1 ? ' !rounded-b-md border-y' : ' border-t')}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{(usersWithAccess?.length ?? 0) < minUserHeight &&
|
{(usersWithAccess?.length ?? 0) < minUserHeight &&
|
||||||
|
|||||||
Reference in New Issue
Block a user