From 26585742419e3fb6091e9ee8c1bdec898eafeb38 Mon Sep 17 00:00:00 2001 From: REJack Date: Sat, 31 Aug 2019 10:01:24 +0200 Subject: [PATCH] fixed card header/title padding --- build/scss/_cards.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build/scss/_cards.scss b/build/scss/_cards.scss index 65f6af09d..9ca2f8cc5 100644 --- a/build/scss/_cards.scss +++ b/build/scss/_cards.scss @@ -94,7 +94,7 @@ html.maximized-card { background-color: transparent; border-bottom: 1px solid $card-border-color; position: relative; - padding: 0 $card-spacer-x; + padding: (($card-spacer-y / 3) * 2) $card-spacer-x; @if $enable-rounded { @include border-top-radius($border-radius); @@ -119,7 +119,6 @@ html.maximized-card { font-size: $card-title-font-size; font-weight: $card-title-font-weight; margin: 0; - padding: $card-spacer-y 0; } // Box Tools Buttons @@ -127,7 +126,7 @@ html.maximized-card { background: transparent; color: $gray-500; font-size: $font-size-sm; - margin: ($card-spacer-y / 2) 0; + margin: -(($card-spacer-y / 3) * 2) 0; padding: .25rem .5rem; .btn-group.show &,