1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 20:06:06 +02:00

enhance(frontend): improve usability on touch device

This commit is contained in:
syuilo
2025-03-16 10:58:06 +09:00
parent 2ddedd0ce6
commit c2940fd77c
15 changed files with 69 additions and 17 deletions

View File

@@ -81,6 +81,11 @@ html {
&.useSystemFont {
font-family: system-ui;
}
&:not(.forceSelectableAll) {
user-select: none;
-webkit-user-select: none;
}
}
html._themeChanging_ {
@@ -120,6 +125,8 @@ a {
textarea, input {
tap-highlight-color: transparent;
-webkit-tap-highlight-color: transparent;
user-select: text;
-webkit-user-select: text;
}
optgroup, option {
@@ -184,6 +191,16 @@ rt {
padding: 0.3em 0.5em;
}
._selectable {
user-select: text;
-webkit-user-select: text;
}
._selectableAtomic {
user-select: all;
-webkit-user-select: all;
}
._noSelect {
user-select: none;
-webkit-user-select: none;