Revert "Fix author name underline + hover icon brightness"
This reverts commit 8ab1895d8a.
This commit is contained in:
@@ -39,6 +39,9 @@ defineOptions({
|
||||
// Setup base styles for contents
|
||||
.smart-clickable__contents {
|
||||
transition: scale 0.125s ease-out;
|
||||
|
||||
// Why? I don't know. It forces the SVGs to render differently, which fixes some shift on hover otherwise.
|
||||
//filter: brightness(1.00001);
|
||||
}
|
||||
|
||||
// When clickable is being hovered or focus-visible, give contents an effect
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<SmartClickable class="w-full project-card-container relative isolate">
|
||||
<SmartClickable class="w-full project-card-container">
|
||||
<template v-if="link" #clickable>
|
||||
<AutoLink
|
||||
:to="link"
|
||||
@@ -131,9 +131,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="absolute inset-0 border-[1px] border-solid border-surface-4 bg-bg-raised rounded-2xl transition-all smart-clickable:outline-on-focus smart-clickable:highlight-on-hover z-[-1]"
|
||||
/>
|
||||
</SmartClickable>
|
||||
</template>
|
||||
|
||||
@@ -184,7 +181,8 @@ const props = defineProps<{
|
||||
status?: ProjectStatus
|
||||
}>()
|
||||
|
||||
const baseCardStyle = 'w-full h-full overflow-hidden'
|
||||
const baseCardStyle =
|
||||
'w-full h-full border-[1px] border-solid border-surface-4 overflow-hidden bg-bg-raised rounded-2xl group transition-all smart-clickable:outline-on-focus smart-clickable:highlight-on-hover'
|
||||
|
||||
const updatedDate = computed(() =>
|
||||
props.dateUpdated ? dayjs(props.dateUpdated).toDate() : undefined,
|
||||
|
||||
Reference in New Issue
Block a user