兼容 Bootstrap

laydate与Bootstrap一起使用时界面会混乱,原因是laydate的布局默认是在box-size为conten-box的情况下计算的,而bootstrap使用了
* {box-size:border-box} 改写了浏览器默认配置,导致layout的各种计算错误。
pull/6/head
Tobyee 2014-10-11 20:18:15 +08:00
parent fa0dda937d
commit 78de26162b
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
**/
html{_background-image:url(about:blank); _background-attachment:fixed;}
.laydate_body .laydate_box, .laydate_body .laydate_box *{margin:0; padding:0;}
.laydate_body .laydate_box, .laydate_body .laydate_box *{margin:0; padding:0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box;}
.laydate-icon,
.laydate-icon-default,
.laydate-icon-danlan,