Web: Hide user-select on Desktop Editors
This commit is contained in:
parent
4aecce0565
commit
32abd05d10
@ -262,6 +262,10 @@ const ShellWrapper = inject(({ auth }) => {
|
||||
init();
|
||||
auth.settingsStore.setModuleInfo(config.homepage, "home");
|
||||
auth.setProductVersion(config.version);
|
||||
|
||||
if (auth.settingsStore.isDesktopClient) {
|
||||
document.body.classList.add("desktop");
|
||||
}
|
||||
},
|
||||
//isThirdPartyResponse,
|
||||
isLoaded,
|
||||
|
@ -23,3 +23,12 @@ body {
|
||||
body.loading * {
|
||||
cursor: wait !important;
|
||||
}
|
||||
|
||||
body.desktop {
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-o-user-select: none;
|
||||
mozuserselect: none;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user