refactor: optimized the effect of selecting text (#210)

This commit is contained in:
ayangweb
2025-02-26 17:16:08 +08:00
committed by GitHub
parent 4c5676b125
commit 5faed79c72
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,7 @@
}
html {
@apply h-full overscroll-none;
@apply h-full overscroll-none select-none;
}
body,

View File

@@ -143,7 +143,7 @@ export default function DesktopApp() {
<div
data-tauri-drag-region
className={`absolute w-full transition-all duration-500 ${
className={`absolute w-full transition-all duration-500 select-auto ${
isTransitioned
? "top-0 opacity-100 pointer-events-auto"
: "-top-[506px] opacity-0 pointer-events-none"