Update X.svelte with vertical-align middle

This commit is contained in:
Ben Welsh 2023-05-14 13:55:13 -04:00 committed by GitHub
parent ae8ffb0639
commit 021ae5d4c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,10 +22,13 @@
<style lang="scss">
@import '../../scss/colours/thematic/tr';
svg path {
fill: var(--theme-colour-text-secondary, $tr-medium-grey);
svg {
vertical-align: middle;
path {
fill: var(--theme-colour-text-secondary, $tr-medium-grey);
}
}
svg rect {
fill: var(--theme-colour-background, white);
}

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB