Skip to content

Commit adee95e

Browse files
minORCray-oxd
authored andcommitted
DBC22-1850: Added hover states for advisories and bulletins
1 parent df92e62 commit adee95e

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

src/frontend/src/Components/advisories/AdvisoriesList.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
@import "../../styles/variables.scss";
22

3-
.advisories-list {
3+
ul.advisories-list {
44
list-style-type: none;
55
padding-left: 0;
66

7-
li {
7+
li.advisory-li {
88
cursor: pointer;
99
width: fit-content;
1010
margin-bottom: 1rem;
1111

12+
&:hover {
13+
.advisory-li-title {
14+
text-decoration: underline;
15+
}
16+
}
17+
1218
.advisory-li-title {
1319
color: $Type-Link;
1420
font-size: 1rem;

src/frontend/src/Components/bulletins/BulletinsList.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
@import "../../styles/variables.scss";
22

3-
.bulletins-list {
4-
li {
3+
ul.bulletins-list {
4+
li.bulletin-li {
55
cursor: pointer;
66
width: fit-content;
7+
&:hover {
8+
.bulletin-li-title {
9+
text-decoration: underline;
10+
}
11+
}
712
}
813
}
914
.empty-bulletin-display {

0 commit comments

Comments
 (0)