Fix border glitch when editing tags

This commit is contained in:
Sam Becker 2025-02-10 19:52:05 -06:00
parent 4cd29ed686
commit 956b9e6079
4 changed files with 5 additions and 8 deletions

View File

@ -49,7 +49,7 @@ export default function AdminUploadsTable({
aspectRatio={3.0 / 2.0}
className={clsx(
'rounded-[3px] overflow-hidden',
'border-subtle',
'border-main',
)}
/>
</div>

View File

@ -25,7 +25,7 @@ export default function PhotoLightbox({
return (
<div className={clsx(
'border dark:border-gray-800 p-1.5 lg:p-2 rounded-md',
'border-main p-1.5 lg:p-2 rounded-md',
'bg-gray-50 dark:bg-gray-950',
)}>
<PhotoGrid

View File

@ -43,7 +43,7 @@ export default function PhotoSmall({
selected && 'brightness-50',
'min-w-[50px]',
'rounded-[3px] overflow-hidden',
'border-subtle',
'border-main',
)}
prefetch={prefetch}
>

View File

@ -121,11 +121,8 @@
}
/* Border */
@utility border-main {
@apply border-gray-200 dark:border-gray-700
}
@utility border-subtle {
@apply
border border-gray-200 dark:border-gray-800
border border-gray-200 dark:border-gray-700
}
/* Background */
@utility bg-main {
@ -304,7 +301,7 @@
@layer components {
.component-surface {
@apply
bg-content border border-main
bg-content border-main
rounded-lg
}
}