summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-02-16 11:06:15 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-02-16 11:06:15 -0500
commit6d80a4c4f9a9fedb586b82a5dea34ae090981d78 (patch)
treed52f025a8a6010511c3ee3ccf3c510d0e8b326b1
parent18390c6a91f9c2d765e1f69a548f0bfd6657d20c (diff)
downloadgitlab-ce-issue_13359.tar.gz
Wrap issue details to prevent content misalignmentissue_13359
-rw-r--r--app/assets/stylesheets/pages/detail_page.scss4
-rw-r--r--app/views/projects/issues/show.html.haml21
2 files changed, 16 insertions, 9 deletions
diff --git a/app/assets/stylesheets/pages/detail_page.scss b/app/assets/stylesheets/pages/detail_page.scss
index 0bddc83f5c0..d93b6ee6733 100644
--- a/app/assets/stylesheets/pages/detail_page.scss
+++ b/app/assets/stylesheets/pages/detail_page.scss
@@ -16,6 +16,10 @@
.issue_created_ago, .author_link {
white-space: nowrap;
}
+
+ .issue-meta {
+ margin-left: 65px
+ }
}
.detail-page-description {
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index c2d33e4e5dc..69a0e2a0c4d 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -19,15 +19,18 @@
= icon('pencil-square-o')
Edit
- .status-box{ class: "status-box-closed #{issue_button_visibility(@issue, false)}"} Closed
- .status-box{ class: "status-box-open #{issue_button_visibility(@issue, true)}"} Open
- %span.identifier
- Issue ##{@issue.iid}
- %span.creator
- &middot;
- by #{link_to_member(@project, @issue.author, size: 24)}
- &middot;
- = time_ago_with_tooltip(@issue.created_at, placement: 'bottom', html_class: 'issue_created_ago')
+ .pull-left
+ .status-box{ class: "status-box-closed #{issue_button_visibility(@issue, false)}"} Closed
+ .status-box{ class: "status-box-open #{issue_button_visibility(@issue, true)}"} Open
+
+ .issue-meta
+ %span.identifier
+ Issue ##{@issue.iid}
+ %span.creator
+ &middot;
+ by #{link_to_member(@project, @issue.author, size: 24)}
+ &middot;
+ = time_ago_with_tooltip(@issue.created_at, placement: 'bottom', html_class: 'issue_created_ago')
.issue-details.issuable-details
.detail-page-description.content-block