修复BUG:iOS弹窗复选框不能垂直居中,精简css样式

This commit is contained in:
Argo-Lenovo 2016-11-15 00:03:15 +08:00
parent 2389711823
commit 6a95700709
2 changed files with 4 additions and 6 deletions

View File

@ -47,10 +47,6 @@
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.modal-body .checkbox label input[type='checkbox'] {
top: 4px;
}
} }
@media (max-width: 548px) { @media (max-width: 548px) {

View File

@ -175,8 +175,10 @@ ul.sidebar-menu {
} }
.modal-body .checkbox label input[type='checkbox'] { .modal-body .checkbox label input[type='checkbox'] {
margin-right: 6px; margin: 0 4px 0 0;
top: 2px; vertical-align: middle;
position: relative;
top: -1px;
} }
.toolbar { .toolbar {