fix: magnifier issue on iOS (#7778)

fix: magnifier issue on iOS
pull/7777/head
Peng Xiao 2022-12-19 22:16:02 +08:00 committed by GitHub
parent 92f48050f4
commit effe00f791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -27,6 +27,11 @@
backface-visibility: hidden;
}
.logseq-tldraw *:not(.tl-logseq-portal-container) * {
-webkit-touch-callout: none;
user-select: none;
}
.dark-theme,
html[data-theme='dark'] {
--ls-wb-background-color-gray: var(--color-gray-800, gray);

View File

@ -120,7 +120,6 @@ const tlcss = css`
box-sizing: border-box;
color: var(--tl-foreground);
-webkit-user-select: none;
-webkit-touch-callout: none;
-webkit-user-drag: none;
}