Commit 8aa6d299546e1af0d66423246b5d8f81a366755a
1 parent
cad45af6
Exists in
master
and in
4 other branches
Small fixes in comment_paragraph layout
Showing
3 changed files
with
7 additions
and
7 deletions
Show diff stats
src/plugins/comment_paragraph/allow-comment/allow-comment.scss
src/plugins/comment_paragraph/hotspot/article-content/article-content.html
1 | 1 | <div class="discussion-header" ng-if="ctrl.isDiscussion()"> |
2 | - <div class="icon"> | |
3 | - <i class="fa fa-calendar fa-fw fa-lg"></i> | |
4 | - </div> | |
5 | 2 | <div class="period"> |
6 | 3 | <div ng-if="ctrl.notOpened()" class="description not-opened"> |
7 | 4 | {{"comment-paragraph-plugin.discussion.notOpened.header" | translate:{date: (ctrl.article.start_date | dateFormat | amTimeAgo)} }} |
... | ... | @@ -18,4 +15,7 @@ |
18 | 15 | {{"comment-paragraph-plugin.discussion.closed.header" | translate:{date: (ctrl.article.end_date | dateFormat | amTimeAgo)} }} |
19 | 16 | </div> |
20 | 17 | </div> |
18 | + <div class="icon"> | |
19 | + <i class="fa fa-calendar fa-fw fa-lg"></i> | |
20 | + </div> | |
21 | 21 | </div> | ... | ... |
src/plugins/comment_paragraph/hotspot/article-content/article-content.scss
1 | 1 | .discussion-header { |
2 | - @extend .pull-right; | |
2 | + text-align: right; | |
3 | 3 | margin-bottom: 20px; |
4 | 4 | .period { |
5 | - @extend .pull-right; | |
5 | + display: inline-block; | |
6 | 6 | .description { |
7 | 7 | font-weight: bold; |
8 | 8 | color: #A2A2A2; |
9 | 9 | } |
10 | 10 | } |
11 | 11 | .icon { |
12 | - @extend .pull-right; | |
12 | + display: inline-block; | |
13 | 13 | margin-left: 8px; |
14 | 14 | } |
15 | 15 | } | ... | ... |