fix: 禁用按钮的用户选择样式,防止文本被选中

This commit is contained in:
cmliu committed 2026-07-31 22:28:37 +08:00
1 parent 867b11d51c
commit cdd6e6eee6
1 file changed
+2
+2
View File
@@ -1478,6 +1478,7 @@ button:disabled {
color: var(--text);
cursor: pointer;
white-space: nowrap;
-webkit-user-select: none;
user-select: none;
outline: 0;
}
@@ -1584,6 +1585,7 @@ button:disabled {
color: var(--muted-2);
font-style: italic;
white-space: nowrap;
-webkit-user-select: none;
user-select: none;
}