mirror of
https://github.com/infinilabs/coco-app.git
synced 2026-08-29 10:09:30 +02:00
refactor: optimized the effect of selecting text (#210)
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
}
|
||||
|
||||
html {
|
||||
@apply h-full overscroll-none;
|
||||
@apply h-full overscroll-none select-none;
|
||||
}
|
||||
|
||||
body,
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user