chore: stats button responsiveness

This commit is contained in:
2024-08-18 23:14:18 +02:00
parent 42591f6e76
commit 6bd62f13a1
+7 -10
View File
@@ -9,7 +9,7 @@
<button class="filter-button btn--filled btn--image" @click="toggleDropdown" ref="button">
<img src="/images/icon-stats.svg" alt="Open filters icon" />
<!-- {{ $t('train-stats.stats-button') }} -->
STATYSTYKI
<span>STATYSTYKI</span>
</button>
<transition name="dropdown-anim">
@@ -200,15 +200,6 @@ h3 {
margin: 0.5em 0;
}
// .stats-row {
// display: flex;
// justify-content: center;
// flex-wrap: wrap;
// text-wrap: pretty;
// gap: 0.25em;
// margin-top: 0.25em;
// }
.u-factor {
[data-factor-low='true'] {
color: #ddd;
@@ -226,4 +217,10 @@ h3 {
color: rgb(22, 245, 22);
}
}
@include smallScreen {
.filter-button span {
display: none;
}
}
</style>