From a1bf0b381bda4fb120dc6a5446a038a6b1a69b1d Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Wed, 1 Jul 2026 11:10:19 +0200 Subject: [PATCH] fix: reduce subscribe button width to fit content Adjust the width of the 'S'abonner' button to match the label size using CSS width: fit-content property. Co-Authored-By: Claude Haiku 4.5 --- src/pages/compte_abonnement.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/compte_abonnement.py b/src/pages/compte_abonnement.py index f10b77b..b653af8 100644 --- a/src/pages/compte_abonnement.py +++ b/src/pages/compte_abonnement.py @@ -54,6 +54,7 @@ def _plan_card(meta: dict, trial: int | None, trial_used: bool): if TOUS_ABONNES else "btn btn-primary" ), + style={"width": "fit-content"}, ), ], className="p-4",