diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2017-05-22 18:39:30 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2017-05-22 18:39:30 +0000 |
commit | b8b0d594941abaf0ce6b996bdcc823ac27407b57 (patch) | |
tree | f7cfa0b1e41312b98bb3d9c3807ea03b5bf5bb7c /app | |
parent | d089a1d21543029d83404de7433cb90640a6054d (diff) | |
parent | 5e987d10169a93d52056b72cfbf07efd6a7193cd (diff) | |
download | gitlab-ce-b8b0d594941abaf0ce6b996bdcc823ac27407b57.tar.gz |
Merge branch '32631-issue-emoji-wrap' into 'master'
Fix spacing of issue emojis
Closes #32631
See merge request !11567
Diffstat (limited to 'app')
-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 |