diff --git a/ts/graphs/Graph.svelte b/ts/graphs/Graph.svelte index 8ee040fd4..9b4ed79c8 100644 --- a/ts/graphs/Graph.svelte +++ b/ts/graphs/Graph.svelte @@ -42,6 +42,9 @@ * marked the ticks as odd */ display: none; } + + &:focus { + outline: 0; } } @@ -57,7 +60,7 @@ } -
+

{title}

{#if subtitle} diff --git a/ts/graphs/GraphsPage.svelte b/ts/graphs/GraphsPage.svelte index 2c52979e6..e60c8b67f 100644 --- a/ts/graphs/GraphsPage.svelte +++ b/ts/graphs/GraphsPage.svelte @@ -60,9 +60,6 @@ } } - .no-focus-outline:focus { - outline: 0; - }
@@ -77,17 +74,15 @@ {/if} {#if sourceData} -
- {#each graphs as graph} - - {/each} -
+ {#each graphs as graph} + + {/each} {/if}