diff options
author | dimitrieh <dimitriehoekstra@gmail.com> | 2016-12-22 20:54:54 +0100 |
---|---|---|
committer | dimitrieh <dimitriehoekstra@gmail.com> | 2016-12-22 20:54:54 +0100 |
commit | c60585a185d9e8ed0c4148a0a319e8672414c36f (patch) | |
tree | 51012af68d44bf95a1450cb6694ea52fec169cc6 | |
parent | 8dfa41016b2830fa9cfcf87e55e42e6a2a8c9a07 (diff) | |
download | gitlab-ce-c60585a185d9e8ed0c4148a0a319e8672414c36f.tar.gz |
Change earlier to task_status_short to avoid titlebar line wraps25941-odd-overflow-behavior-for-long-issue-headers
-rw-r--r-- | app/helpers/issuables_helper.rb | 4 | ||||
-rw-r--r-- | changelogs/unreleased/25941-odd-overflow-behavior-for-long-issue-headers.yml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb index 8231f8fa334..1c213983a5b 100644 --- a/app/helpers/issuables_helper.rb +++ b/app/helpers/issuables_helper.rb @@ -96,8 +96,8 @@ module IssuablesHelper if issuable.tasks? output << " ".html_safe - output << content_tag(:span, issuable.task_status, id: "task_status", class: "hidden-xs") - output << content_tag(:span, issuable.task_status_short, id: "task_status_short", class: "hidden-sm hidden-md hidden-lg") + output << content_tag(:span, issuable.task_status, id: "task_status", class: "hidden-xs hidden-sm") + output << content_tag(:span, issuable.task_status_short, id: "task_status_short", class: "hidden-md hidden-lg") end output diff --git a/changelogs/unreleased/25941-odd-overflow-behavior-for-long-issue-headers.yml b/changelogs/unreleased/25941-odd-overflow-behavior-for-long-issue-headers.yml new file mode 100644 index 00000000000..c28cf7a0f86 --- /dev/null +++ b/changelogs/unreleased/25941-odd-overflow-behavior-for-long-issue-headers.yml @@ -0,0 +1,4 @@ +--- +title: Change earlier to task_status_short to avoid titlebar line wraps +merge_request: +author: |