Skip to content

Commit

Permalink
chore: disable user-select for button-like elements (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Jan 8, 2022
1 parent 8ba04bf commit 0509d3f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/sass/_shortcodes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
background: var(--accent-color-lite);
padding: $padding-8 $padding-16;
cursor: pointer;
user-select: none;
}

&__content {
Expand Down Expand Up @@ -46,6 +47,7 @@
padding: $padding-8 $padding-16;
border-bottom: $border-1 transparent;
cursor: pointer;
user-select: none;
}

&__content {
Expand Down Expand Up @@ -94,11 +96,17 @@
border-radius: $border-radius;
margin: $padding-8 0;
cursor: pointer;
user-select: none;

&__link {
display: inline-block;
color: inherit !important;
text-decoration: none !important;

&:hover,
&:visited:hover {
background: none;
}
}

&:hover {
Expand Down

0 comments on commit 0509d3f

Please sign in to comment.