diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-08-11 01:09:44 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-08-11 01:09:44 -0400 |
commit | 2e67661f0016874b7afbfeeb773401b94d5cefcd (patch) | |
tree | 2d29b2559a783cd986c4d5fcead47843e01d8270 /styles | |
parent | 5f7ffa76984da87c7b67be24f392a6ff50f5a8a2 (diff) |
Fix dragging for scaled cards
Diffstat (limited to 'styles')
-rw-r--r-- | styles/client/card.css | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/styles/client/card.css b/styles/client/card.css index 6f03347..9ac6f3d 100644 --- a/styles/client/card.css +++ b/styles/client/card.css @@ -1,3 +1,7 @@ +.instant { + transition-duration: 0s; +} + card { position: absolute; @@ -15,6 +19,9 @@ card user-select: none; box-sizing: border-box; + left: calc(var(--left) / var(--scale)); + top: calc(var(--top) / var(--scale)); + z-index: 3; } |