diff --git a/site/templates/demos.html b/site/templates/demos.html index 8e68551344..6f344dece5 100644 --- a/site/templates/demos.html +++ b/site/templates/demos.html @@ -8,7 +8,7 @@ {%- endif %} -
+
{%- set items = resource.pages|find_demo_in_component(post.meta.directory) %} {%- if post.meta.cols == 1 %}
diff --git a/static/style.css b/static/style.css index d4770fd8c1..31bf38f547 100644 --- a/static/style.css +++ b/static/style.css @@ -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; }