Commit d325a279fb65b2c91f12e45aa20d61949919b95a
1 parent
34d9f34a
Exists in
spb-stable
and in
2 other branches
Small UI improvements
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
3 changed files
with
3 additions
and
1 deletions
Show diff stats
app/assets/stylesheets/generic/selects.scss
app/assets/stylesheets/sections/header.scss
@@ -137,6 +137,7 @@ header { | @@ -137,6 +137,7 @@ header { | ||
137 | .profile-pic { | 137 | .profile-pic { |
138 | position: relative; | 138 | position: relative; |
139 | top: -1px; | 139 | top: -1px; |
140 | + padding-right: 0px !important; | ||
140 | img { | 141 | img { |
141 | width: 26px; | 142 | width: 26px; |
142 | height: 26px; | 143 | height: 26px; |
app/views/projects/_home_panel.html.haml
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | = @project.name_with_namespace | 8 | = @project.name_with_namespace |
9 | 9 | ||
10 | .col-sm-6 | 10 | .col-sm-6 |
11 | - - unless empty_repo | 11 | + - if current_user && !empty_repo |
12 | .project-home-dropdown | 12 | .project-home-dropdown |
13 | = render "dropdown" | 13 | = render "dropdown" |
14 | = render "shared/clone_panel" | 14 | = render "shared/clone_panel" |