More scroll stuff

This commit is contained in:
hfcRed 2025-12-25 20:39:52 +01:00
parent e92bf6c370
commit fa7099416f
2 changed files with 7 additions and 2 deletions

View File

@ -300,7 +300,9 @@ function ResultHighlights() {
return (
<>
<div className={clsx(styles.resultHighlights, "overflow-x-auto")}>
<div
className={clsx(styles.resultHighlights, "overflow-x-auto scrollbar")}
>
<div className="stack sm text-center">
<h2 className={styles.resultHighlightsTitle}>
{t("front:leaderboards.topPlayers")}
@ -329,7 +331,9 @@ function ResultHighlights() {
{recentResults}
</div>
</div>
<div className={clsx(styles.resultHighlights, "overflow-x-auto")}>
<div
className={clsx(styles.resultHighlights, "overflow-x-auto scrollbar")}
>
<div className="stack sm text-center desktop-hidden">
{recentResults}
</div>

View File

@ -201,6 +201,7 @@
.resultHighlights {
display: flex;
gap: var(--s-2);
padding-block: var(--s-2);
}
.resultHighlightsTitle {