2
0
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:
Mark Otto
2012-01-07 04:20:56 -08:00
parent e594107f37
commit b6d50c892d
3 changed files with 8 additions and 8 deletions
+2 -1
View File
@@ -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;