web/OmniboxIcon: refactor css

This commit is contained in:
wukko 2025-03-29 14:21:53 +06:00
parent 0b77431bd6
commit b9e64bd9e9
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -44,17 +44,22 @@
</div> </div>
<style> <style>
#input-icons { #input-icons,
position: relative; #input-icons :global(svg),
.input-icon {
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
#input-icons {
display: flex;
position: relative;
}
#input-icons :global(svg) { #input-icons :global(svg) {
stroke: var(--gray); stroke: var(--gray);
width: 18px;
height: 18px;
stroke-width: 2px; stroke-width: 2px;
will-change: transform;
} }
.input-icon { .input-icon {
@ -76,12 +81,10 @@
.spinner-icon.animated :global(svg) { .spinner-icon.animated :global(svg) {
animation: spinner 0.7s infinite linear; animation: spinner 0.7s infinite linear;
will-change: transform;
} }
.loading .link-icon :global(svg) { .loading .link-icon :global(svg) {
animation: spinner 0.7s linear; animation: spinner 0.7s linear;
will-change: transform;
} }
.loading .link-icon { .loading .link-icon {