help_link_widget: Fix blue on hover by inheriting the text color instead.

In this commit, we add css to help link widgets so that they can inherit
the color property on hover,

Changing `.help_link_widget` selector to `a.help_link_widget` allows
us to increase the specificity of the selector, thus enabling us to
override the on hover property set by the bootstrap classes.
This commit is contained in:
Sayam Samal 2023-12-01 10:05:40 +05:30 committed by Tim Abbott
parent 68ccb022ca
commit 2f1ea2fe4e
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,7 @@ h3,
}
}
.help_link_widget {
a.help_link_widget {
opacity: 0.7;
color: inherit;
margin-left: 3px;
@ -42,6 +42,7 @@ h3,
}
&:hover {
color: inherit;
opacity: 1;
}
}