Skip to content

Commit 6ba902c

Browse files
committed
fix formatting of dnd
1 parent 128f00b commit 6ba902c

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

frontend/src/splash.tsx

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ const Intro: Component<
193193
File System Access API
194194
</Link>
195195
. You will be unable to extract a {NAME} archive to play or use the upload/download features
196-
in the filesystem viewer.
196+
in the filesystem viewer. Please switch to a chromium based browser.
197197
</div>
198198
) : null}
199199
{FSAPI_UNAVAILABLE ? (
@@ -478,8 +478,8 @@ const Copy: Component<
478478
}
479479
480480
.droparea {
481-
position: relative;
482-
border: 2px dashed var(--surface6);
481+
position: relative;
482+
border: 2px dashed var(--surface6);
483483
color: var(--fg6);
484484
font-size: 1.05rem;
485485
font-weight: 500;
@@ -491,29 +491,29 @@ const Copy: Component<
491491
}
492492
493493
.droparea.true {
494-
pointer-events: none;
495-
cursor: no-drop;
494+
pointer-events: none;
495+
cursor: no-drop;
496496
497-
* {
498-
cursor: no-drop;
499-
}
497+
* {
498+
cursor: no-drop;
499+
}
500500
501-
background: color-mix(in srgb, var(--bg-sub) 45%, transparent);
502-
color: var(--surface6);
503-
border-color: var(--surface4);
501+
background: color-mix(in srgb, var(--bg-sub) 45%, transparent);
502+
color: var(--surface6);
503+
border-color: var(--surface4);
504504
}
505505
506506
.droparea.dragover {
507507
border-color: var(--accent);
508508
color: color-mix(in srgb, var(--fg3) 92%, var(--accent));
509509
.dnd-bg-hover {
510-
transition: background-image 0.35s ease;
511-
background-image: radial-gradient(
512-
circle at center,
513-
color-mix(in srgb, var(--accent) 25%, transparent),
514-
transparent
515-
);
516-
}
510+
transition: background-image 0.35s ease;
511+
background-image: radial-gradient(
512+
circle at center,
513+
color-mix(in srgb, var(--accent) 25%, transparent),
514+
transparent
515+
);
516+
}
517517
}
518518
519519
.dnd-bg-hover {
@@ -526,10 +526,10 @@ const Copy: Component<
526526
z-index: 9;
527527
transition: background-image 0.35s ease;
528528
background-image: radial-gradient(
529-
circle at center,
530-
color-mix(in srgb, var(--surface3) 5%, transparent),
531-
transparent
532-
);
529+
circle at center,
530+
color-mix(in srgb, var(--surface3) 5%, transparent),
531+
transparent
532+
);
533533
}
534534
535535
.dnd-content {

0 commit comments

Comments
 (0)