1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

fix: fixes a css bug that was causing browser horizontal scrollbar. see #3278 (#3279)

This commit is contained in:
Amir Raminfar
2024-09-17 05:55:03 -07:00
committed by GitHub
parent 2db41e044f
commit 66d8064462

View File

@@ -25,7 +25,7 @@
</div>
</div>
<div
class="animate-background h-1 bg-gradient-radial from-primary to-transparent to-50%"
class="animate-background h-1 w-1/2 bg-gradient-radial from-primary to-transparent to-75%"
v-show="!scrollContext.paused && !scrollContext.loading"
></div>
<div ref="scrollObserver" class="h-px"></div>
@@ -101,10 +101,10 @@ function scrollToBottom(behavior: "auto" | "smooth" = "auto") {
@keyframes gradient-animation {
0%,
100% {
transform: translateX(-25%);
transform: translateX(0%);
}
50% {
transform: translateX(25%);
transform: translateX(100%);
}
}
</style>