summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArinde Eniola <eniolaarinde1@gmail.com>2016-03-20 22:10:31 +0100
committerArinde Eniola <eniolaarinde1@gmail.com>2016-03-20 22:10:31 +0100
commit1d6c7ecc9bcdd77334474a5117aa09763bff64d1 (patch)
treec57101f0ff840c96f89ba2e380281b2bef94f425
parentd19abe6f65fdf79060b233ac7df742897a8fb55e (diff)
downloadgitlab-ce-fix_button_overflow_on_issues_page.tar.gz
fix button overflow on issue page headerfix_button_overflow_on_issues_page
-rw-r--r--app/assets/stylesheets/pages/detail_page.scss4
-rw-r--r--app/views/projects/issues/show.html.haml15
2 files changed, 11 insertions, 8 deletions
diff --git a/app/assets/stylesheets/pages/detail_page.scss b/app/assets/stylesheets/pages/detail_page.scss
index d3eda1a57e6..88f791d90c8 100644
--- a/app/assets/stylesheets/pages/detail_page.scss
+++ b/app/assets/stylesheets/pages/detail_page.scss
@@ -20,6 +20,10 @@
.issue-meta {
display: inline-block;
line-height: 20px;
+
+ @media (min-width: $screen-sm-min) {
+ width: 48%;
+ }
}
}
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index 52df3de8a27..cd3ca9767ca 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -28,14 +28,13 @@
%span.creator
opened
.editor-details
- .editor-details
- = time_ago_with_tooltip(@issue.created_at)
- by
- %strong
- = link_to_member(@project, @issue.author, size: 24, mobile_classes: "hidden-xs")
- %strong
- = link_to_member(@project, @issue.author, size: 24, mobile_classes: "hidden-sm hidden-md hidden-lg",
- by_username: true, avatar: false)
+ = time_ago_with_tooltip(@issue.created_at)
+ by
+ %strong
+ = link_to_member(@project, @issue.author, size: 24, mobile_classes: "hidden-xs")
+ %strong
+ = link_to_member(@project, @issue.author, size: 24, mobile_classes: "hidden-sm hidden-md hidden-lg",
+ by_username: true, avatar: false)
.pull-right.issue-btn-group
- if can?(current_user, :create_issue, @project)