From: Andy Allan Date: Wed, 8 Jul 2020 14:57:49 +0000 (+0200) Subject: Remove some extraneous css X-Git-Tag: live~2195^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/6d9434e14d92a143d0bebe9cbadac72d1f2aa035 Remove some extraneous css The trace part is actually removing html, but I thought it was CSS when I first noticed the blank space on the page. --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 39cdaa47a..3055d87af 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1196,16 +1196,6 @@ tr.turn:hover { background: $lightgrey; } -.content-body { - h1, h2, h3, p, ul, ol { - margin-bottom: $lineheight; - } - - h1, h2, h3 { - margin-top: $lineheight/2; - } -} - .content-inner { position: relative; max-width: 900px; @@ -1306,21 +1296,14 @@ tr.turn:hover { /* Rules for the user profile page */ #userinformation { - min-height: 100px; .userinformation-inner { float: left; } - h2 { - margin-top: 0; - } .user-description { width: 100%; clear: both; } - .deemphasize { - margin: 0; - } } .admin-user-info small { diff --git a/app/assets/stylesheets/small.scss b/app/assets/stylesheets/small.scss index 83b112ce7..63edfd459 100644 --- a/app/assets/stylesheets/small.scss +++ b/app/assets/stylesheets/small.scss @@ -91,7 +91,6 @@ body.small { .compact-hide { display: inline-block; } - .overlay-sidebar #sidebar .welcome.visible { display: none; diff --git a/app/views/traces/index.html.erb b/app/views/traces/index.html.erb index 86ac37f00..609dbcede 100644 --- a/app/views/traces/index.html.erb +++ b/app/views/traces/index.html.erb @@ -26,12 +26,6 @@ <%= render :partial => "trace_paging_nav" %> - - - - - - <%= render @traces unless @traces.nil? %>