mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 08:28:18 +00:00
remove unused animated line css
This commit is contained in:
1 parent
60009f98ac
commit
dac64fb38c
2 files changed
-25
No files matched your search
@@ -1312,7 +1312,6 @@ export const EditPaintSurface = ({
|
||||
left={
|
||||
<div className="flex h-full w-full items-center justify-center overflow-hidden">
|
||||
<div
|
||||
className={`${isGenerating ? "canvas-generating" : ""}`}
|
||||
style={{
|
||||
width: window.innerWidth * (leftPct / 100),
|
||||
height: window.innerHeight,
|
||||
|
||||
@@ -276,27 +276,3 @@ img {
|
||||
.ReactCrop__crop-selection:focus {
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
/* Animated canvas border when generating: single runner line clockwise */
|
||||
.canvas-generating {
|
||||
position: relative;
|
||||
}
|
||||
.canvas-border-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
}
|
||||
.canvas-border-runner {
|
||||
stroke: rgba(59, 130, 246, 0.95);
|
||||
stroke-width: 3;
|
||||
fill: none;
|
||||
stroke-linecap: round;
|
||||
stroke-dasharray: 8 92;
|
||||
animation: canvas-border-run 1.6s linear infinite;
|
||||
}
|
||||
@keyframes canvas-border-run {
|
||||
to {
|
||||
stroke-dashoffset: -100;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user