fix: adjust visited color for profile menu items to maintain consistency
This commit is contained in:
1 parent
a53bafff3f
commit
4227293345
1 file changed
+7
@@ -188,6 +188,13 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* The About item falls back to an <a> when no onAbout handler is wired, unlike the other
|
||||
button-based items - without this, the browser's default a:visited color (higher specificity
|
||||
than the class color above) makes it drift from the other dropdown items' color once clicked. */
|
||||
.sc-profile-menu-item:visited {
|
||||
color: var(--sc-muted-fg);
|
||||
}
|
||||
|
||||
.sc-profile-menu-item:hover {
|
||||
color: var(--sc-fg);
|
||||
background: var(--sc-surface-hover);
|
||||
|
||||
Reference in new issue
Block a user