Fix pixel persistence, improve mobile
This commit is contained in:
parent
1f1f20ffd6
commit
e1107ccfd4
14 changed files with 172 additions and 82 deletions
|
|
@ -19,7 +19,7 @@ export function CoordinateDisplay({
|
|||
}: CoordinateDisplayProps) {
|
||||
return (
|
||||
<motion.div
|
||||
className="fixed bottom-4 left-4 sm:bottom-6 sm:left-6 z-50"
|
||||
className="fixed bottom-4 left-4 sm:bottom-6 sm:left-6 z-50 max-w-[calc(100vw-120px)] sm:max-w-none"
|
||||
initial={{ opacity: 0, y: 30 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
exit={{ opacity: 0, y: 30 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue