From bb8d6f98c095a6cab4183ada039f512afec51cfa Mon Sep 17 00:00:00 2001 From: kdeterme Date: Wed, 7 Oct 2026 16:08:05 +0200 Subject: [PATCH] style(home): unify quick action buttons size and center content --- loko/home/static/home/home_index.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/loko/home/static/home/home_index.css b/loko/home/static/home/home_index.css index a739dd1..6cddc25 100644 --- a/loko/home/static/home/home_index.css +++ b/loko/home/static/home/home_index.css @@ -217,9 +217,11 @@ .quick-action-btn { display: inline-flex; align-items: center; + justify-content: center; gap: 10px; padding: 9px 18px; min-height: 48px; + min-width: 270px; background: #ffffff; border: 1px solid rgba(226, 232, 240, 0.95); border-radius: 12px; @@ -230,6 +232,7 @@ font-weight: 600; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; + white-space: nowrap; } .quick-action-btn:hover { @@ -254,6 +257,7 @@ transition: transform 0.2s ease, background 0.2s ease; background: rgba(37, 99, 235, 0.1) !important; color: #2563eb !important; + flex-shrink: 0; } .quick-action-btn:hover .quick-action-icon { @@ -262,6 +266,13 @@ color: #1d4ed8 !important; } +@media (max-width: 576px) { + .quick-action-btn { + min-width: 100%; + width: 100%; + } +} + /* ========================================================================== Widget Patrimoine du Territoire (Cartes Thématiques & KPIs) ========================================================================== */