Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ts/routes/graphs/CalendarGraph.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</script>

<Graph {title}>
<InputBox>
<InputBox dir="ltr">
<span>
<button on:click={() => targetYear--} disabled={minYear >= targetYear}>
Expand Down
5 changes: 4 additions & 1 deletion ts/routes/graphs/InputBox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="ts">
import { direction } from "@tslib/i18n";

export let dir = direction();
</script>

<div>
<div {dir}>
<slot />
</div>

Expand Down
Loading