1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-02 18:02:37 +02:00

Allow multiple ways of padding declaration for modal header (#26976)

* #26967: Allow multiple ways of padding declaration for modal header
* #26976: split vertical and horizontal modal padding
This commit is contained in:
Martijn Cuppens
2018-09-19 06:33:31 +02:00
committed by Mark Otto
parent 0bec1c8897
commit 7bd1bc2431
2 changed files with 4 additions and 2 deletions

View File

@@ -108,7 +108,7 @@
.close {
padding: $modal-header-padding;
// auto on the left force icon to the right even when there is no .modal-title
margin: (-$modal-header-padding) (-$modal-header-padding) (-$modal-header-padding) auto;
margin: (-$modal-header-padding-y) (-$modal-header-padding-x) (-$modal-header-padding-y) auto;
}
}