Skip to content

A platform for community discussion. Free, open, simple.

UX: update styling for related/suggested (#23242)

Ty Correllbffd61746b5c
diff --git a/app/assets/stylesheets/common/components/more-topics.scss b/app/assets/stylesheets/common/components/more-topics.scss
index e433707783a..48f6cf30f69 100644
--- a/app/assets/stylesheets/common/components/more-topics.scss
+++ b/app/assets/stylesheets/common/components/more-topics.scss
@@ -12,15 +12,15 @@
padding: 0.5em 5px;
&:hover {
box-shadow: inset 0px -3px 0px 0px rgba(var(--tertiary-rgb), 0.5);
- .d-icon {
- color: var(--primary-high);
- }
}
&.active {
box-shadow: inset 0px -3px 0px 0px var(--tertiary);
- .d-icon {
- color: var(--primary-high);
- }
+ }
+ .d-icon,
+ &:hover .d-icon,
+ &:active .d-icon {
+ color: var(--primary-high);
+ opacity: 1;
}
}
}