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} aspectRatio={3.0 / 2.0}
className={clsx( className={clsx(
'rounded-[3px] overflow-hidden', 'rounded-[3px] overflow-hidden',
'border-subtle', 'border-main',
)} )}
/> />
</div> </div>

View File

@ -25,7 +25,7 @@ export default function PhotoLightbox({
return ( return (
<div className={clsx( <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', 'bg-gray-50 dark:bg-gray-950',
)}> )}>
<PhotoGrid <PhotoGrid

View File

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

View File

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