diff options
author | Martin Hanzel <mhanzel@gitlab.com> | 2019-06-24 21:30:56 +0200 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2019-06-27 16:15:53 -0500 |
commit | b6356451c9b6b46f35e61efe98279495c8c75519 (patch) | |
tree | 2287075d9c2bc65b44fea5a99319195dc699a05c | |
parent | a7db7a78f745561e068221e866eb5c99baf0a8b7 (diff) | |
download | gitlab-ce-b6356451c9b6b46f35e61efe98279495c8c75519.tar.gz |
Fix issue weight rendering bug
-rw-r--r-- | app/assets/stylesheets/pages/boards.scss | 1 | ||||
-rw-r--r-- | app/views/shared/boards/components/_board.html.haml | 9 |
2 files changed, 6 insertions, 4 deletions
diff --git a/app/assets/stylesheets/pages/boards.scss b/app/assets/stylesheets/pages/boards.scss index 44e2c2b8481..0772a21250e 100644 --- a/app/assets/stylesheets/pages/boards.scss +++ b/app/assets/stylesheets/pages/boards.scss @@ -137,6 +137,7 @@ .issue-count-badge { border: 0; + white-space: nowrap; > span { height: 16px; diff --git a/app/views/shared/boards/components/_board.html.haml b/app/views/shared/boards/components/_board.html.haml index 47b8493ad4a..01a5b3fb80d 100644 --- a/app/views/shared/boards/components/_board.html.haml +++ b/app/views/shared/boards/components/_board.html.haml @@ -50,10 +50,11 @@ = icon("trash") .issue-count-badge.no-drag.text-secondary{ "v-if" => 'list.type !== "blank" && list.type !== "promotion"', ":title": "counterTooltip", "v-tooltip": true, data: { placement: "top" } } - %span.issue-count-badge-count - %icon.mr-1{ name: "issues" } - {{ list.issuesSize }} - = render_if_exists "shared/boards/components/list_weight" + %span + %span.issue-count-badge-count + %icon.mr-1{ name: "issues" } + {{ list.issuesSize }} + = render_if_exists "shared/boards/components/list_weight" %button.issue-count-badge-add-button.no-drag.btn.btn-sm.btn-default.ml-1.has-tooltip{ type: "button", "@click" => "showNewIssueForm", |