Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions src/components/Dropdown/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@
width: 100%;
height: 100%;
cursor: pointer;
&:hover {
border: 1px solid var(--accent-color);
background-color: var(--accent-type-color);
color: var(--accent-color);
@media (hover: hover) and (pointer: fine) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please align coding style in this file and fix indention of L23.

&:hover {
border: 1px solid var(--accent-color);
background-color: var(--accent-type-color);
color: var(--accent-color);
}
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove empty line that is not necessary.

}

.options {
Expand Down Expand Up @@ -93,10 +96,13 @@
}
}

li[aria-selected="false"]:hover .icon {
svg {
background: var(--accent-type-color);
border-radius: 2rem;
// Only apply hover styles on devices with true hover capability (not touch devices)
@media (hover: hover) and (pointer: fine) {
li[aria-selected="false"]:hover .icon {
svg {
background: var(--accent-type-color);
border-radius: 2rem;
}
}
}

Expand Down