Commit 1c23333f344205f97fc909af724ed88c2ee45c2b
1 parent
9d09d616
Exists in
spb-stable
and in
2 other branches
Align issue box content and mr widgets vertically
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
3 changed files
with
10 additions
and
7 deletions
Show diff stats
app/assets/stylesheets/generic/issue_box.scss
@@ -56,23 +56,22 @@ | @@ -56,23 +56,22 @@ | ||
56 | 56 | ||
57 | .state { | 57 | .state { |
58 | border-bottom: 1px solid #DDD; | 58 | border-bottom: 1px solid #DDD; |
59 | - padding: 10px 25px; | 59 | + padding: 10px 15px; |
60 | } | 60 | } |
61 | 61 | ||
62 | .title { | 62 | .title { |
63 | - font-size: 26px; | 63 | + font-size: 28px; |
64 | font-weight: normal; | 64 | font-weight: normal; |
65 | line-height: 1.5; | 65 | line-height: 1.5; |
66 | margin: 0; | 66 | margin: 0; |
67 | color: #333; | 67 | color: #333; |
68 | - padding-bottom: 0; | ||
69 | - padding: 15px 25px; | 68 | + padding: 10px 15px; |
70 | } | 69 | } |
71 | 70 | ||
72 | .context { | 71 | .context { |
73 | border: none; | 72 | border: none; |
74 | border-top: 1px solid #eee; | 73 | border-top: 1px solid #eee; |
75 | - padding: 15px 25px; | 74 | + padding: 10px 15px; |
76 | 75 | ||
77 | // Reset text align for children | 76 | // Reset text align for children |
78 | .text-right > * { text-align: left; } | 77 | .text-right > * { text-align: left; } |
@@ -88,7 +87,7 @@ | @@ -88,7 +87,7 @@ | ||
88 | } | 87 | } |
89 | 88 | ||
90 | .description { | 89 | .description { |
91 | - padding: 0 25px 15px 25px; | 90 | + padding: 0 15px 10px 15px; |
92 | } | 91 | } |
93 | 92 | ||
94 | .title, .context, .description { | 93 | .title, .context, .description { |
app/assets/stylesheets/sections/merge_requests.scss
app/views/projects/merge_requests/show/_commits.html.haml
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | .panel-heading | 3 | .panel-heading |
4 | %i.icon-list | 4 | %i.icon-list |
5 | Commits (#{@commits.count}) | 5 | Commits (#{@commits.count}) |
6 | - .commits | 6 | + .commits.mr-commits |
7 | - if @commits.count > 8 | 7 | - if @commits.count > 8 |
8 | %ul.first-commits.well-list | 8 | %ul.first-commits.well-list |
9 | - @commits.first(8).each do |commit| | 9 | - @commits.first(8).each do |commit| |