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 <noreply@anthropic.com>
This commit is contained in:
Colin Maudry
2026-07-01 11:10:19 +02:00
parent 63a7ff3d89
commit a1bf0b381b
+1
View File
@@ -54,6 +54,7 @@ def _plan_card(meta: dict, trial: int | None, trial_used: bool):
if TOUS_ABONNES if TOUS_ABONNES
else "btn btn-primary" else "btn btn-primary"
), ),
style={"width": "fit-content"},
), ),
], ],
className="p-4", className="p-4",