Fix author name underline + fix gallery preference being broken (#5337)

This commit is contained in:
Prospector
2026-02-08 17:01:23 -08:00
committed by GitHub
parent a3bc35c303
commit 4eb0f0c206
3 changed files with 9 additions and 6 deletions

View File

@@ -44,9 +44,6 @@ 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
@@ -59,6 +56,12 @@ defineOptions({
:deep(.smart-clickable\:highlight-on-hover) {
filter: brightness(var(--hover-brightness, 1.25));
}
:deep(.smart-clickable\:surface-4-on-hover) {
@apply bg-surface-4;
}
:deep(.smart-clickable\:surface-5-on-hover) {
@apply bg-surface-5;
}
:deep(.ease-brightness) {
opacity: 0.85;
transition: opacity 0.125s ease-out;