Skip to content

Commit

Permalink
fix: added cursor pointer on chips that have links (#643)
Browse files Browse the repository at this point in the history
* fix: added cursor pointer on chips that have links

* fix: fixed hover styles for chips
  • Loading branch information
sabrina-bongiovanni authored Apr 16, 2024
1 parent 4ad67ad commit 581f1b6
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/theme/bootstrap-override/bootstrap-italia/_chips.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
.public-ui .chip {
display: inline-block;
height: unset;
cursor: default;
line-height: 1rem;
text-align: center;

&:hover {
cursor: default;
}

&:not(:disabled):not(.chip-primary):not(.chip-secondary) {
&.selected,
&:hover,
Expand Down Expand Up @@ -39,3 +42,15 @@
cursor: default;
}
}

a.chip,
.chip:has(a),
a .chip {
&:hover {
cursor: pointer;
}
}

a:has(.chip):hover {
cursor: default;
}

0 comments on commit 581f1b6

Please sign in to comment.