]> git.openstreetmap.org Git - rails.git/commitdiff
Merge pull request #4111 from AntonKhorev/hidden-welcome-banner
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 2 Aug 2023 15:56:25 +0000 (16:56 +0100)
committerGitHub <noreply@github.com>
Wed, 2 Aug 2023 15:56:25 +0000 (16:56 +0100)
Hide/show welcome banner with hidden attribute

1  2 
app/assets/stylesheets/common.scss

index 34f2ada7388f9fcc6c6542ecf2298a096a52f076,2605bdd10d6c53f5e3b6b39aa281a878960ec32d..d74ece45a66a2b6f323f1b07acc452aa7ed0b483
@@@ -317,7 -317,7 +317,7 @@@ body.small-nav 
      display: inline-block;
    }
  
-   .overlay-sidebar #sidebar .welcome.visible {
+   .overlay-sidebar #sidebar .welcome {
      display: none;
    }
  
  
      > div {
        position: relative;
 -      float: left;
 -      clear: both;
 -      width: 100%;
      }
    }
  
      }
  
      .welcome {
-       display: none;
-       &.visible {
-         display: block;
-       }
+       display: block;
      }
  
      #sidebar_content {
    }
  }
  
 -.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; }