Commit 5b1984ce5a01d66b2630f76ef47ac156980ee38e

Authored by Dmitriy Zaporozhets
1 parent b27bd2b1

Reduce right margin or dashboard project visibility icon

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/assets/stylesheets/sections/dashboard.scss
@@ -125,7 +125,7 @@ @@ -125,7 +125,7 @@
125 125
126 .dash-project-access-icon { 126 .dash-project-access-icon {
127 float: left; 127 float: left;
128 - margin-right: 10px; 128 + margin-right: 5px;
129 font-size: 18px; 129 font-size: 18px;
130 color: #BBB; 130 color: #BBB;
131 margin-bottom: 10px; 131 margin-bottom: 10px;
app/helpers/projects_helper.rb
@@ -179,11 +179,11 @@ module ProjectsHelper @@ -179,11 +179,11 @@ module ProjectsHelper
179 179
180 title 180 title
181 end 181 end
182 - 182 +
183 def default_url_to_repo 183 def default_url_to_repo
184 current_user ? @project.url_to_repo : @project.http_url_to_repo 184 current_user ? @project.url_to_repo : @project.http_url_to_repo
185 end 185 end
186 - 186 +
187 def default_clone_protocol 187 def default_clone_protocol
188 current_user ? "ssh" : "http" 188 current_user ? "ssh" : "http"
189 end 189 end