mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
scope close icon in modal to modal-header to allow alerts in modals to use close icons
This commit is contained in:
+2
-1
@@ -34,7 +34,6 @@
|
||||
.border-radius(6px);
|
||||
.box-shadow(0 3px 7px rgba(0,0,0,0.3));
|
||||
.background-clip(padding-box);
|
||||
.close { margin-top: 7px; }
|
||||
&.fade {
|
||||
.transition(e('opacity .3s linear, top .3s ease-out'));
|
||||
top: -25%;
|
||||
@@ -44,6 +43,8 @@
|
||||
.modal-header {
|
||||
padding: 5px 15px;
|
||||
border-bottom: 1px solid #eee;
|
||||
// Close icon
|
||||
.close { margin-top: 7px; }
|
||||
}
|
||||
.modal-body {
|
||||
padding: 15px;
|
||||
|
||||
Reference in New Issue
Block a user