From ebcb038c1c27695790f81900204d4c8589b2dfbb Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 19 Sep 2012 12:12:45 +0100 Subject: [PATCH] Suppress any border on the logo --- app/assets/stylesheets/common.css.scss | 8 ++++++++ app/views/layouts/site.html.erb | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index b1f494b7f..0f7100481 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -64,6 +64,10 @@ h2 { margin: 25px 0 5px 0; } +#logo img { + border: 0px; +} + #logo h1 { font-size: 18px; line-height: 20px; @@ -83,6 +87,10 @@ h2 { display: none; } +#small-title img { + border: 0px; +} + /* Rules for the introductory text displayed in the left sidebar to new users */ .sidebar-copy { diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index 15eb1d631..064fbed0a 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -3,7 +3,7 @@ <%= render :partial => "layouts/head" %>
- <%= link_to(image_tag("osm_logo.png", :size => "16x16", :border => 0, :alt => t('layouts.logo.alt_text')), root_path) %> + <%= link_to(image_tag("osm_logo.png", :size => "16x16", :alt => t('layouts.logo.alt_text')), root_path) %>

<%= t 'layouts.project_name.h1' %>

-- 2.43.2