diff --git a/less/categories.less b/less/categories.less index 8f36c03..9859e1e 100644 --- a/less/categories.less +++ b/less/categories.less @@ -41,12 +41,15 @@ .card { border-left: 4px solid #ccc; - padding-left: 20px; text-align: left; height: 53px; margin-top: 2px; overflow: hidden; + > * { + padding-left: 20px; + } + img { border-radius: 50%; width: 30px; @@ -66,6 +69,13 @@ small { color: @gray-light; } + + .post-content p { + display: none; + &:first-child { + display: inline-block; + } + } } } } \ No newline at end of file diff --git a/templates/partials/categories/lastpost.tpl b/templates/partials/categories/lastpost.tpl index 9d872ec..7935289 100644 --- a/templates/partials/categories/lastpost.tpl +++ b/templates/partials/categories/lastpost.tpl @@ -4,7 +4,9 @@
{categories.posts.user.username}
- {categories.posts.content} +