From 61a9b54e001fa490a28e792db1478835ad94c849 Mon Sep 17 00:00:00 2001 From: riqvip Date: Mon, 16 Sep 2024 17:19:26 +1000 Subject: [PATCH] Update styles.css --- styles.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/styles.css b/styles.css index 5d80d64..191d861 100644 --- a/styles.css +++ b/styles.css @@ -117,14 +117,15 @@ body { padding: 20px; border-radius: 0 10px 10px 0; width: 20%; - max-height: calc(100vh - 40px); + height: 275px; overflow-y: auto; - position: sticky; + position: static; top: 0; box-sizing: border-box; color: #333; } + .contents ul { list-style: none; padding: 0; @@ -144,7 +145,7 @@ body { flex: 1; display: flex; flex-direction: column; - gap: 20px; + gap: 10px; padding: 0 20px; box-sizing: border-box; } @@ -157,9 +158,11 @@ body { width: 100%; box-sizing: border-box; color: #333; - min-height: 15cm; + min-height: auto; + max-height: none; } + .step-box h3 { font-size: 1.5em; } @@ -170,7 +173,7 @@ body { .guide-title { position: absolute; - top: 20px; + top: -5px; left: 50%; transform: translateX(-50%); font-size: 3em;