reduce selectability of some elements

This commit is contained in:
hippoz 2022-09-20 23:36:12 +03:00
parent ac2a231045
commit 7e1da02089
No known key found for this signature in database
GPG key ID: 7C52899193467641
2 changed files with 9 additions and 0 deletions

View file

@ -198,6 +198,8 @@ body {
.input-label { .input-label {
text-transform: uppercase; text-transform: uppercase;
color: var(--foreground-color-2); color: var(--foreground-color-2);
pointer-events: none;
user-select: none;
} }
.input { .input {
@ -224,6 +226,7 @@ body {
padding: var(--space-xsplus); padding: var(--space-xsplus);
border-radius: var(--radius-xl); border-radius: var(--radius-xl);
font: inherit; font: inherit;
user-select: none;
/* TODO: inefficient */ /* TODO: inefficient */
display: flex; display: flex;
@ -335,6 +338,7 @@ body {
} }
.sidebar-button { .sidebar-button {
user-select: none;
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
align-items: center; align-items: center;
@ -388,6 +392,10 @@ body {
color: var(--colored-element-text-color); color: var(--colored-element-text-color);
} }
.material-icons-outlined, .material-icons {
user-select: none;
}
/*! the tweaks below are heavily based on modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */ /*! the tweaks below are heavily based on modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
*, *,

View file

@ -77,6 +77,7 @@
visibility: hidden; visibility: hidden;
margin-left: auto; margin-left: auto;
flex-shrink: 0; flex-shrink: 0;
user-select: none;
} }
.message.clumped .author { .message.clumped .author {