Fix link underline behavior

This commit is contained in:
Sam Becker 2023-09-14 11:50:58 -05:00
parent 63559a2430
commit 89bb787e49
3 changed files with 3 additions and 4 deletions

View File

@ -14,6 +14,7 @@ export default function RepoLink() {
className={cc(
'flex items-center gap-1',
'text-black dark:text-white',
'hover:underline',
)}
>
<BiLogoGithub className="translate-y-[1px]" />

View File

@ -49,6 +49,7 @@ export default function PhotoOGTile({
key={photo.id}
href={routeForPhoto(photo)}
className={cc(
'group',
'block w-full rounded-md overflow-hidden',
'border shadow-sm',
'border-gray-200 dark:border-gray-800',
@ -112,6 +113,7 @@ export default function PhotoOGTile({
'flex flex-col gap-1 p-3',
'font-sans leading-none',
'bg-gray-50 dark:bg-gray-900/50',
'group-active:bg-gray-100 group-active:dark:bg-black',
'border-t border-gray-200 dark:border-gray-800',
)}>
<div className="text-gray-800 dark:text-white font-medium">

View File

@ -9,10 +9,6 @@
bg-white dark:bg-black
text-gray-900 dark:text-gray-100
}
a {
@apply
hover:underline
}
label {
@apply
font-sans font-medium block uppercase text-xs