chore: disable user-select for button-like elements (#142)

This commit is contained in:
Robert Kaussow 2022-01-08 13:57:17 +01:00 committed by GitHub
parent 8ba04bfb36
commit 0509d3f82a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@
background: var(--accent-color-lite); background: var(--accent-color-lite);
padding: $padding-8 $padding-16; padding: $padding-8 $padding-16;
cursor: pointer; cursor: pointer;
user-select: none;
} }
&__content { &__content {
@ -46,6 +47,7 @@
padding: $padding-8 $padding-16; padding: $padding-8 $padding-16;
border-bottom: $border-1 transparent; border-bottom: $border-1 transparent;
cursor: pointer; cursor: pointer;
user-select: none;
} }
&__content { &__content {
@ -94,11 +96,17 @@
border-radius: $border-radius; border-radius: $border-radius;
margin: $padding-8 0; margin: $padding-8 0;
cursor: pointer; cursor: pointer;
user-select: none;
&__link { &__link {
display: inline-block; display: inline-block;
color: inherit !important; color: inherit !important;
text-decoration: none !important; text-decoration: none !important;
&:hover,
&:visited:hover {
background: none;
}
} }
&:hover { &:hover {