Skip to content

Commit e792277

Browse files
committed
added label for threshold slider and inverted direction
closes #32
1 parent 9d5d5fa commit e792277

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ text.highcharts-data-label {
2525
}
2626
}
2727

28+
#threshold {
29+
direction: rtl;
30+
}
31+
2832
.highcharts-link {
2933
cursor: pointer;
3034
}

src/template.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ <h1 class="my-4">Cashflows</h1>
5454
</div>
5555
</div>
5656
<div class="d-flex align-items-center ms-md-auto mt-2 mt-md-0">
57+
<label for="threshold" class="me-2">Detailgrad:</label>
5758
<input x-data="threshold-slider-component" type="range" class="form-range me-5" id="threshold" :min="minValue" :max="maxValue" :value="currentValue" @change="zoom" title="Detailgrad">
5859
<div class="nav-item dropdown me-3">
5960
<button class="nav-link dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">Aktionen</button>
@@ -86,7 +87,7 @@ <h2 class="visually-hidden">Sankey Chart</h2>
8687

8788
<footer class="container-fluid text-center text-opacity-25 text-secondary p-3">
8889
<small>
89-
Generiert am {{ today }} Uhr mit der MoneyMoney Extension
90+
Generiert am <time>{{ today }}</time> Uhr mit der MoneyMoney Extension
9091
<a href="https://github.com/ma4nn/moneymoney-sankey" target="_blank" class="text-opacity-25 text-secondary">moneymoney-sankey</a> Version v{{ version }}.<br>
9192
&copy; 2024-25 <a class="text-opacity-25 text-secondary" href="https://dev-investor.de" rel="external noopener" target="_blank">dev-investor</a>.
9293
Die Extension wird kostenlos unter der MIT Lizenz zur Verfügung gestellt. Danke für

0 commit comments

Comments
 (0)