]> git.openstreetmap.org Git - rails.git/commitdiff
Remove some extraneous css
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 8 Jul 2020 14:57:49 +0000 (16:57 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 8 Jul 2020 14:57:49 +0000 (16:57 +0200)
The trace part is actually removing html, but I thought it was CSS
when I first noticed the blank space on the page.

app/assets/stylesheets/common.scss
app/assets/stylesheets/small.scss
app/views/traces/index.html.erb

index 39cdaa47a7f5840e37d6959d05c6ef5e86d3f53e..3055d87aff0d71e67b9538b5dc61835abb5262f9 100644 (file)
@@ -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 {
index 83b112ce7a0241367564379cc3214a68ddd412ee..63edfd459b0109b9b32c98d2e772127937baac10 100644 (file)
@@ -91,7 +91,6 @@ body.small {
   .compact-hide {
     display: inline-block;
   }
-  
 
   .overlay-sidebar #sidebar .welcome.visible {
     display: none;
index 86ac37f00fe44040982e090fff994d1b2c281a0b..609dbcede69da11ab47d5af6acb772fb02ac277f 100644 (file)
   <%= render :partial => "trace_paging_nav" %>
 
   <table id="trace_list" class="table table-borderless table-striped">
-    <thead>
-      <tr>
-        <th></th>
-        <th></th>
-      </tr>
-    </thead>
     <tbody>
       <%= render @traces unless @traces.nil? %>
     </tbody>