]> git.openstreetmap.org Git - rails.git/commitdiff
Merge pull request #4112 from AntonKhorev/no-float-inside-sidebar
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 2 Aug 2023 14:54:16 +0000 (15:54 +0100)
committerGitHub <noreply@github.com>
Wed, 2 Aug 2023 14:54:16 +0000 (15:54 +0100)
Remove unnecessary full-width float css from sidebar

1  2 
app/assets/stylesheets/common.scss

index 848e3f1be6e072d5ce2357b840d309235727842c,fe38bbbdfe8f39dec19833ba01e4dc84b5ce56c2..34f2ada7388f9fcc6c6542ecf2298a096a52f076
@@@ -422,9 -422,6 +422,6 @@@ body.small-nav 
  
      > div {
        position: relative;
-       float: left;
-       clear: both;
-       width: 100%;
      }
    }
  
    }
  }
  
 -.layers-ui,
 -.share-ui {
 -  li:last-child {
 -    margin-bottom: 0;
 -  }
 -}
 -
  .layers-ui {
    .base-layers {
      .leaflet-container {
  }
  
  .share-ui {
 -  .share-tab {
 -    display: none;
 -  }
 -
    .share-link {
      input[type=text],
      textarea {
      }
    }
  
 -  #embed_html {
 -    resize: vertical;
 -  }
 -
    #mapnik_scale {
      width: 100px;
    }
  
  #attribution {
    display: none;
 -
 -  table {
 -    width: 100%
 -  }
 -}
 -
 -.attribution_license,
 -.attribution_project {
 -  text-align: left;
 -}
 -
 -.attribution_notice {
 -  text-align: center;
  }
  
  .donate-attr { color: darken($green, 10%) !important; }