diff --git a/less/categories.less b/less/categories.less index af18f35..46c5173 100644 --- a/less/categories.less +++ b/less/categories.less @@ -4,6 +4,7 @@ > li { margin-bottom: 20px; + min-height: 53px; .content { margin-top: 7px; @@ -45,12 +46,19 @@ } } + @media (max-width: 500px) { + .teaser { + position: absolute; + right: 4px; + } + } + .card { border-left: 4px solid #ccc; text-align: left; - height: 53px; margin-top: 2px; overflow: hidden; + height: 53px; > * { padding-left: 20px; diff --git a/templates/categories.tpl b/templates/categories.tpl index 78fb070..039684b 100644 --- a/templates/categories.tpl +++ b/templates/categories.tpl @@ -35,12 +35,12 @@ {categories.post_count}
[[global:posts]] -
+
-
+
diff --git a/templates/partials/category/subcategory.tpl b/templates/partials/category/subcategory.tpl index 297f9ab..25e026a 100644 --- a/templates/partials/category/subcategory.tpl +++ b/templates/partials/category/subcategory.tpl @@ -32,7 +32,7 @@ {children.post_count}
[[global:posts]]
-
+
@@ -54,7 +54,7 @@
-
+
diff --git a/templates/partials/topics_list.tpl b/templates/partials/topics_list.tpl index 3236984..329723c 100644 --- a/templates/partials/topics_list.tpl +++ b/templates/partials/topics_list.tpl @@ -31,7 +31,6 @@
- -
+
- -
- -
- \ No newline at end of file