Skip to content

Commit ddcaa67

Browse files
committed
fix(ChartFooter): Remove stray whitespace in two-up layout
1 parent f2555fe commit ddcaa67

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

components/src/ChartFooter/ChartFooter.svelte

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{/if}
2222
{#if showLogo}
2323
<a href="https://www.swr.de/home/swr-data-lab-team-100.html" class="logo-link">
24-
SWR Data Lab
24+
<span class="sr-only"> SWR Data Lab </span>
2525
<Logotype />
2626
</a>
2727
{/if}
@@ -38,14 +38,18 @@
3838
}
3939
4040
.logo-link {
41-
font-size: 0;
4241
&:hover,
4342
&:focus-visible {
4443
:global(path) {
4544
fill: var(--color-logoFillHover);
4645
}
4746
}
4847
}
48+
.sr-only {
49+
font-size: 0;
50+
position: absolute;
51+
left: -9999px;
52+
}
4953
5054
.one-up {
5155
display: flex;

0 commit comments

Comments
 (0)