Skip to content

best way to save what you love

web/OmniboxIcon: refactor css

wukkob9e64bd9e920
diff --git a/web/src/components/save/OmniboxIcon.svelte b/web/src/components/save/OmniboxIcon.svelte
index 4e58b92b..31784981 100644
--- a/web/src/components/save/OmniboxIcon.svelte
+++ b/web/src/components/save/OmniboxIcon.svelte
@@ -44,17 +44,22 @@
</div>
<style>
- #input-icons {
- position: relative;
+ #input-icons,
+ #input-icons :global(svg),
+ .input-icon {
width: 18px;
height: 18px;
}
+ #input-icons {
+ display: flex;
+ position: relative;
+ }
+
#input-icons :global(svg) {
stroke: var(--gray);
- width: 18px;
- height: 18px;
stroke-width: 2px;
+ will-change: transform;
}
.input-icon {
@@ -76,12 +81,10 @@
.spinner-icon.animated :global(svg) {
animation: spinner 0.7s infinite linear;
- will-change: transform;
}
.loading .link-icon :global(svg) {
animation: spinner 0.7s linear;
- will-change: transform;
}
.loading .link-icon {