Browse Source

Fix clear both problem

pull/164/head
afc163 9 years ago
parent
commit
45c6895c61
  1. 2
      site/templates/demos.html
  2. 7
      static/style.css

2
site/templates/demos.html

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

7
static/style.css

@ -420,7 +420,7 @@ footer ul li > a {
width: 260px;
background: #F9F9F9;
padding-top: 10px;
margin-bottom: 50px;
padding-bottom: 50px;
float: left;
}
@ -495,6 +495,7 @@ footer ul li > a {
animation: xRightMatrix .5s ease-out;
background: #fff;
min-height: 500px;
overflow: hidden;
}
.main-container-center {
@ -1671,10 +1672,6 @@ footer ul li > a {
color: #3B4357;
}
.code-boxes {
overflow: hidden;
}
.code-boxes-col-1-1 {
width: 80%;
}

Loading…
Cancel
Save