fix the hover state of chevron-right icons (#16595)

for #16133, pair-programmed with @ghernandez345 



# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Gabe Hernandez <ghernandez345@gmail.com>
This commit is contained in:
Roberto Dip 2024-02-05 13:12:18 -03:00 committed by GitHub
parent 9c37db2a05
commit a1b23acfea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

1
changes/16133-icons Normal file
View File

@ -0,0 +1 @@
* Fix visual display of chevron right icons on Chrome

View File

@ -245,9 +245,12 @@ $base-class: "button";
}
}
// These buttons use stroke color instead of fill color to darken
// The SVG icons in these buttons contain a `stroke` instead of a `fill`,
// so we need to modify that property instead. Adding a custom `fill`
// could make these icons render incorrectly.
&.input-field__copy-value-button,
&.windows-details-button {
&.windows-details-button,
[data-testid="chevron-right-icon"] {
svg {
path {
fill: none;