From c0cf2186297d367e99b0e5b839e4ebb5d81a4a16 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sun, 9 Jul 2023 23:43:11 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20(flex)=20better=20pilar=20flex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index b67f64b..fbe5e6e 100644 --- a/style.css +++ b/style.css @@ -91,9 +91,9 @@ li { } .people-improvement svg { - min-width: 20vw; - max-width: 50vw; - width: 100%; + flex: 1; + min-width: max(15vw, 200px); + max-width: 30vw; } .pilars { @@ -121,7 +121,9 @@ li { .pilars ul { display: flex; + flex: 1; flex-direction: column; + justify-content: space-evenly; gap: 0.5rem; }