fix: 禁用按钮的用户选择样式,防止文本被选中
This commit is contained in:
1 parent
867b11d51c
commit
cdd6e6eee6
1 file changed
+2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user