Fix clear both problem again

This commit is contained in:
afc163 2015-08-19 21:11:08 +08:00
parent f03f21c509
commit ee7c34077d
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
</a>
{%- endif %}
</h2>
<div class="code-boxes clearfix">
<div class="code-boxes">
{%- set items = resource.pages|find_demo_in_component(post.meta.directory) %}
{%- if post.meta.cols == 1 %}
<div class="code-boxes-col-1-1">

View File

@ -495,7 +495,6 @@ footer ul li > a {
animation: xRightMatrix .5s ease-out;
background: #fff;
min-height: 500px;
overflow: hidden;
}
.main-container-center {
@ -1677,8 +1676,9 @@ footer ul li > a {
}
.code-boxes-col-2-1 {
width: 50%;
float: left;
width: 49%;
display: inline-block;
vertical-align: top;
padding-right: 15px;
}