diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-05-19 16:05:51 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-05-19 16:05:51 -0500 |
commit | 5e987d10169a93d52056b72cfbf07efd6a7193cd (patch) | |
tree | 5c6a872a9adf026fdc379bef89ef5e592852ace2 | |
parent | c19d58de67ecf0fcf224ad72d1756e2e9b8fe83c (diff) | |
download | gitlab-ce-5e987d10169a93d52056b72cfbf07efd6a7193cd.tar.gz |
Fix spacing of issue emojis32631-issue-emoji-wrap
-rw-r--r-- | app/assets/stylesheets/framework/awards.scss | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/issuable.scss | 4 | ||||
-rw-r--r-- | app/views/projects/issues/show.html.haml | 6 |
3 files changed, 8 insertions, 4 deletions
diff --git a/app/assets/stylesheets/framework/awards.scss b/app/assets/stylesheets/framework/awards.scss index 9159927ed8b..b5f00cb20d4 100644 --- a/app/assets/stylesheets/framework/awards.scss +++ b/app/assets/stylesheets/framework/awards.scss @@ -108,7 +108,7 @@ } .award-control { - margin-right: 5px; + margin: 0 5px 6px 0; outline: 0; &.disabled { diff --git a/app/assets/stylesheets/pages/issuable.scss b/app/assets/stylesheets/pages/issuable.scss index 9a63f758ce1..d79ae47f589 100644 --- a/app/assets/stylesheets/pages/issuable.scss +++ b/app/assets/stylesheets/pages/issuable.scss @@ -56,6 +56,10 @@ padding: 5px; max-height: calc(100vh - 100px); } + + .emoji-block { + padding: 10px 0 4px; + } } .issuable-filter-count { diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml index b2401442620..82d8e4d769b 100644 --- a/app/views/projects/issues/show.html.haml +++ b/app/views/projects/issues/show.html.haml @@ -69,11 +69,11 @@ #related-branches{ data: { url: related_branches_namespace_project_issue_url(@project.namespace, @project, @issue) } } // This element is filled in using JavaScript. - .content-block.content-block-small + .content-block.emoji-block .row - .col-sm-6 + .col-sm-8 = render 'award_emoji/awards_block', awardable: @issue, inline: true - .col-sm-6.new-branch-col + .col-sm-4.new-branch-col = render 'new_branch' unless @issue.confidential? %section.issuable-discussion |