Skip to content

best way to save what you love

web/FileReceiver: restore the pretty animated focus ring

wukko0454b138b163
diff --git a/web/src/components/misc/FileReceiver.svelte b/web/src/components/misc/FileReceiver.svelte
index 5dff45eb..9ab853e7 100644
--- a/web/src/components/misc/FileReceiver.svelte
+++ b/web/src/components/misc/FileReceiver.svelte
@@ -81,7 +81,7 @@
transition: box-shadow 0.2s;
}
- .open-file-button:not(:focus-visible) {
+ .open-file-button {
box-shadow: none;
}
@@ -132,6 +132,10 @@
stroke: var(--blue);
}
+ .open-file-button:focus-visible {
+ outline: none;
+ }
+
.open-file-container :global(.meowbalt) {
z-index: 2;
clip-path: inset(0px 0px 16px 0px);