From 7257371492bbed5600bbea853f036419a452f290 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 16 May 2026 23:11:37 +0300 Subject: [PATCH] tree: switch repo-stats to flex layout --- static/css/tree.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/css/tree.scss b/static/css/tree.scss index 572547e..c3922cf 100644 --- a/static/css/tree.scss +++ b/static/css/tree.scss @@ -27,9 +27,10 @@ /* 1. The repo stats panel */ .repo-stats { - display: grid; - grid-template-columns: repeat(7, minmax(0, 1fr)); + display: flex; + flex-wrap: wrap; align-items: center; + justify-content: space-evenly; border: 1px solid #d8dee4; border-radius: 5px; background: #ffffff; @@ -70,7 +71,7 @@ a.repo-stat-item:hover { @media (max-width: 760px) { .repo-stats { - grid-template-columns: repeat(2, minmax(0, 1fr)); + justify-content: space-around; } } -- 2.39.5