禁止鼠标光标选中文字
This commit is contained in:
@@ -100,10 +100,15 @@ const handleLogout = () => {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* --- 侧边栏颜色保持原样 --- */
|
||||
.siderbar {
|
||||
background-color: #001529;
|
||||
color: white;
|
||||
/* 禁止用户选中文字 */
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
/* 兼容 Safari */
|
||||
-moz-user-select: none;
|
||||
/* 兼容 Firefox */
|
||||
}
|
||||
|
||||
.sidebar-header {
|
||||
|
||||
Reference in New Issue
Block a user