From df94e11c4f2b2d7106c8264ffa8cb17cfcd5f1c6 Mon Sep 17 00:00:00 2001 From: Corinne Durrmeyer Date: Tue, 18 Jun 2024 16:37:16 +0200 Subject: [PATCH] Prevents menu overflow in mobile version --- app/assets/stylesheets/new_header.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/assets/stylesheets/new_header.scss b/app/assets/stylesheets/new_header.scss index 176b1432e..78888fe62 100644 --- a/app/assets/stylesheets/new_header.scss +++ b/app/assets/stylesheets/new_header.scss @@ -5,3 +5,13 @@ filter: none; } } + +.fr-header__menu.fr-modal { + // Avoid overflow on mobile version + // Due to button width + overflow-x: hidden; + + .fr-btn { + width: auto; + } +} \ No newline at end of file