From 89da4c02fec4373ad4207dc5a7ae05dd32a5bb7e Mon Sep 17 00:00:00 2001 From: Giovanni Mendoza Date: Sat, 15 Feb 2020 05:06:02 -0600 Subject: [PATCH] Added new variable for padding on dropdown header (#29946) Co-authored-by: XhmikosR Co-authored-by: Martijn Cuppens --- 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 76f33a4fd80c..bf458ecf743b 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -176,7 +176,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 a85f43ceba0e..2fdf9eeb6454 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -788,6 +788,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