From bd1aeaef425184c48acc30499370ec4064f88dcb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arnaud=20Gu=C3=A9ras?= Date: Thu, 21 Nov 2024 17:51:18 +0100 Subject: [PATCH] fix mobile MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Arnaud Guéras --- themes/xen-project/assets/css/grid.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/themes/xen-project/assets/css/grid.scss b/themes/xen-project/assets/css/grid.scss index 6b42caa..8050b25 100644 --- a/themes/xen-project/assets/css/grid.scss +++ b/themes/xen-project/assets/css/grid.scss @@ -69,9 +69,16 @@ section { flex-direction: row; gap: var(--sp-lg); justify-content: space-between; + flex-wrap: wrap; + @include phone { + flex-wrap: nowrap; + } .col { - flex: 1; + flex: 1 1 100%; + @include phone { + flex: 1; + } } } -- 2.39.5