From 63b731b7a63097d16e959a7cf8eae67805eaabaa Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Tue, 29 Nov 2022 10:48:20 +0100 Subject: [PATCH] =?UTF-8?q?Oprava=20overflow=20kv=C5=AFli=20navigaci=20na?= =?UTF-8?q?=20telefonu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/main.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sass/main.scss b/sass/main.scss index 6a3cafe..9b6fd92 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -166,6 +166,8 @@ header { .floating.visible { visibility: visible; opacity: 1; + height: auto; + transition: all .2s ease-out; } .buttons { @@ -185,11 +187,13 @@ header { top: 100%; right: 0; width: 100%; - padding: 2em 1em; + height: 0; + overflow: hidden; + padding: 0 1em 1em 1em; background-color: #fff; z-index: 1; opacity: 0; - transition: all .2s ease-out; + transition: none; ul { display: flex;