From c86e0d9059f06d225768ac5d1dfe10c989c62027 Mon Sep 17 00:00:00 2001 From: Giovanni Mendoza Date: Wed, 1 Jan 2020 17:05:25 -0600 Subject: [PATCH] Added new variable for padding on dropdown header --- scss/_dropdown.scss | 2 +- scss/_variables.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index 4bfa8ac9dfc3..400477baa008 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -179,7 +179,7 @@ // Dropdown section headers .dropdown-header { display: block; - padding: $dropdown-padding-y $dropdown-item-padding-x; + padding: $dropdown-header-padding; margin-bottom: 0; // for use with heading elements @include font-size($font-size-sm); color: $dropdown-header-color; diff --git a/scss/_variables.scss b/scss/_variables.scss index ef0f2125db14..da6cd90519d3 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -903,6 +903,7 @@ $dropdown-item-padding-y: .25rem !default; $dropdown-item-padding-x: 1.5rem !default; $dropdown-header-color: $gray-600 !default; +$dropdown-header-padding: $dropdown-padding-y $dropdown-item-padding-x !default; // Pagination