2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

update modal footers to use text-align instead of float on buttons for alignment

This commit is contained in:
Mark Otto
2012-02-22 22:38:54 -08:00
parent 8609a77bd2
commit 0e8427e7b1
5 changed files with 13 additions and 11 deletions
+2 -2
View File
@@ -3064,6 +3064,7 @@ button.btn.btn-small, input[type="submit"].btn.btn-small {
.modal-footer {
padding: 14px 15px 15px;
margin-bottom: 0;
text-align: right;
background-color: #f5f5f5;
border-top: 1px solid #ddd;
-webkit-border-radius: 0 0 6px 6px;
@@ -3081,8 +3082,7 @@ button.btn.btn-small, input[type="submit"].btn.btn-small {
.modal-footer:after {
clear: both;
}
.modal-footer .btn {
float: right;
.modal-footer .btn + .btn {
margin-left: 5px;
margin-bottom: 0;
}