From bbaa6c24ecddb5bf64fece08fe7f2d08ac3d3a69 Mon Sep 17 00:00:00 2001 From: Fabricio Duarte Date: Sun, 26 Mar 2023 02:23:50 -0300 Subject: [PATCH] Prevent the sticky from hiding in the stats page (#2457) * Prevent the sticky from hiding in the stats page * Replace height:auto with height:initial in the import CSV page To match with the other pages (deck options and graphs), making it easier to possibly simplify the CSS code in the future. Doesn't really cause any changes. --- ts/graphs/graphs-base.scss | 2 ++ ts/import-csv/import-csv-base.scss | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ts/graphs/graphs-base.scss b/ts/graphs/graphs-base.scss index 2b65560d9..34c8e3d02 100644 --- a/ts/graphs/graphs-base.scss +++ b/ts/graphs/graphs-base.scss @@ -4,3 +4,5 @@ button { margin-bottom: 5px; } + +html { height: initial; } \ No newline at end of file diff --git a/ts/import-csv/import-csv-base.scss b/ts/import-csv/import-csv-base.scss index 08c8b39e2..53738cc1e 100644 --- a/ts/import-csv/import-csv-base.scss +++ b/ts/import-csv/import-csv-base.scss @@ -15,8 +15,9 @@ body { min-height: 100vh; - height: auto; width: min(100vw, 70em); margin: 0 auto; padding: 0 1em 1em 1em; } + +html { height: initial; } \ No newline at end of file