Disable text selection on some elements

This commit is contained in:
Lim Chee Aun 2023-01-03 15:51:16 +08:00
parent 910120ecd7
commit a41655698f
2 changed files with 4 additions and 0 deletions

View file

@ -91,6 +91,7 @@ a.mention span {
align-items: center;
user-select: none;
transition: transform 0.5s ease-in-out;
user-select: none;
}
.deck header[hidden] {
transform: translateY(-100%);
@ -354,6 +355,7 @@ a.mention span {
display: block;
text-decoration-line: none;
color: inherit;
user-select: none;
transition: background-color 0.2s ease-out;
-webkit-tap-highlight-color: transparent;
animation: appear 0.2s ease-out;
@ -651,6 +653,7 @@ button.carousel-dot[disabled].active {
padding: 16px 16px 8px;
padding-left: max(16px, env(safe-area-inset-left));
padding-right: max(16px, env(safe-area-inset-right));
user-select: none;
}
.sheet main {
overflow: auto;

View file

@ -123,6 +123,7 @@ button,
line-height: 1;
vertical-align: middle;
text-decoration: none;
user-select: none;
}
:is(button, .button) > * {
vertical-align: middle;