Skip to content

Commit

Permalink
DBC22-1850: Added hover states for advisories and bulletins
Browse files Browse the repository at this point in the history
  • Loading branch information
minORC committed Mar 25, 2024
1 parent df92e62 commit a19cc5d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
10 changes: 8 additions & 2 deletions src/frontend/src/Components/advisories/AdvisoriesList.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
@import "../../styles/variables.scss";

.advisories-list {
ul.advisories-list {
list-style-type: none;
padding-left: 0;

li {
li.advisory-li {
cursor: pointer;
width: fit-content;
margin-bottom: 1rem;

&:hover {
.advisory-li-title {
text-decoration: underline;
}
}

.advisory-li-title {
color: $Type-Link;
font-size: 1rem;
Expand Down
9 changes: 7 additions & 2 deletions src/frontend/src/Components/bulletins/BulletinsList.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
@import "../../styles/variables.scss";

.bulletins-list {
li {
ul.bulletins-list {
li.bulletin-li {
cursor: pointer;
width: fit-content;
&:hover {
.bulletin-li-title {
text-decoration: underline;
}
}
}
}
.empty-bulletin-display {
Expand Down

0 comments on commit a19cc5d

Please sign in to comment.