From 4f6e170a798014a0dbbaf7e179482082e1607beb Mon Sep 17 00:00:00 2001 From: Kumi Date: Fri, 24 May 2024 14:41:32 +0200 Subject: [PATCH] feat(css): add margin to subsequent primary buttons in cards Introduces a margin-top rule for primary buttons within `.card-body`, specifically targeting all but the first button. This change ensures consistent spacing between stacked buttons, enhancing the visual layout and overall user interface within card components. The adjustment caters to the need for clearer visual separation in dense UI areas, particularly where multiple actions are presented in a confined space. --- assets/css/base.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/css/base.css b/assets/css/base.css index 160c2f9..42ff3c0 100644 --- a/assets/css/base.css +++ b/assets/css/base.css @@ -81,6 +81,10 @@ h5 { font-size: x-large; } +.card-body .btn-primary:not(:first-child) { + margin-top: 10px; +} + /* Responsive Styles */ @media (max-width: 768px) { .navbar .container {