From 5632fda4e200da257bd0731d0db0991560c8d7c3 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 13 Nov 2023 11:28:20 +0100 Subject: [PATCH] =?UTF-8?q?correctif(dossiers):=20ETQ=20usager,=20le=20men?= =?UTF-8?q?u=20d'invitation=20etait=20cass=C3=A9=20sur=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/stylesheets/dossier_views.scss | 27 +++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/dossier_views.scss b/app/assets/stylesheets/dossier_views.scss index 52215ebbeb1..e0884c1630e 100644 --- a/app/assets/stylesheets/dossier_views.scss +++ b/app/assets/stylesheets/dossier_views.scss @@ -17,8 +17,7 @@ .header-actions { margin-bottom: $default-spacer; display: flex; - justify-content: flex-end; - column-gap: $default-spacer * 2; + } } @@ -54,3 +53,27 @@ } } } + +@media (min-width: 48em) { + .dossier-container { + .header-actions { + flex-direction: row; + justify-content: flex-end; + column-gap: $default-spacer * 2; + } + } +} + +@media (max-width: 48em) { + .dossier-container .header-actions { + row-gap: $default-spacer * 2; + flex-direction: column; + justify-content: stretch; + + .dropdown-button { + min-width: 100%; + white-space: normal; + } + } + } +}