From: Arnaud Guéras Date: Thu, 21 Nov 2024 16:51:18 +0000 (+0100) Subject: fix mobile X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bd1aeaef425184c48acc30499370ec4064f88dcb;p=www-xenproject-org.git fix mobile Signed-off-by: Arnaud Guéras --- 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; + } } }