Fix author name underline + fix gallery preference being broken (#5337)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user