From cbf93d24593d3933bf692055b52e55b7ecf4d6f3 Mon Sep 17 00:00:00 2001 From: Yuka Kato Date: Fri, 2 Sep 2016 17:13:30 +0900 Subject: [PATCH] Css classes for post author are nested under .post class, because I wanna create classes for comment author --- app/assets/stylesheets/posts.scss | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/assets/stylesheets/posts.scss b/app/assets/stylesheets/posts.scss index ed37598..8c425f7 100644 --- a/app/assets/stylesheets/posts.scss +++ b/app/assets/stylesheets/posts.scss @@ -77,18 +77,18 @@ ol { @extend %post-list-common; } -} -.author { - border-top: 1px solid $border-gray; - padding: 1.5rem 0; - text-align: right; -} + .author { + border-top: 1px solid $border-gray; + padding: 1.5rem 0; + text-align: right; + } -.author__nickname { - font-size: .9rem -} + .author__nickname { + font-size: .9rem + } -.author__created-at { - font-size: .8rem + .author__created-at { + font-size: .8rem + } }