Skip to content

Commit

Permalink
Improve hover action
Browse files Browse the repository at this point in the history
  • Loading branch information
turboMaCk committed Jan 17, 2021
1 parent 9aec6be commit b033bfc
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions src/index.less
Expand Up @@ -12,14 +12,6 @@
}
}

.search-result-item() {
&:hover {
.search-result-button {
text-decoration: underline;
}
}
}

/* ------------------------------------------------------------------------- */
/* -- Layout --------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */
Expand Down Expand Up @@ -148,6 +140,13 @@ header .navbar.navbar-static-top {
}
}


.search-result-button {
&:hover {
text-decoration: underline;
}
}

& > .search-results {
display: flex;
flex-direction: row;
Expand Down Expand Up @@ -315,8 +314,6 @@ header .navbar.navbar-static-top {
}

&.package {
.search-result-item();

// short details of a pacakge
& > :nth-child(3) {
color: #666;
Expand Down Expand Up @@ -410,8 +407,6 @@ header .navbar.navbar-static-top {
}

&.option {
.search-result-item();

// short details of a pacakge
& > :nth-child(3) {
margin-top: 1em;
Expand Down

0 comments on commit b033bfc

Please sign in to comment.