time travel button display fix

This commit is contained in:
Phillip Thelen
2024-08-19 16:15:22 +02:00
parent e387585d6d
commit baec8273d0
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -176,7 +176,7 @@
.btn-warning {
background: $orange-10;
color: $white;
color: $white !important;
&:hover:not(:disabled):not(.disabled) {
background: $orange-100;
+7 -4
View File
@@ -291,6 +291,7 @@
</div>
<div
class="time-travel"
v-if="TIME_TRAVEL_ENABLED && user.permissions && user.permissions.fullAccess"
:key="lastTimeJump"
>
@@ -308,12 +309,12 @@
>-30 Days</a>
<div class="my-2">
Time Traveling! It is {{ new Date().toLocaleDateString() }}
<button
class="btn btn-warning mr-1"
<a
class="btn btn-warning btn-small"
@click="resetTime()"
>
Reset
</button>
</a>
</div>
<a
class="btn btn-secondary mr-1"
@@ -508,6 +509,8 @@ li {
grid-area: debug-pop;
}
.time-travel { grid-area: time-travel;}
footer {
background-color: $gray-500;
color: $gray-50;
@@ -528,7 +531,7 @@ footer {
"donate-text donate-text donate-text donate-button social"
"hr hr hr hr hr"
"copyright copyright melior privacy-terms privacy-terms"
"debug-toggle debug-toggle debug-toggle blank blank";
"time-travel time-travel debug-toggle debug-toggle debug-toggle";
grid-template-columns: repeat(5, 1fr);
grid-template-rows: auto;