]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.scss
Merge pull request #5056 from AntonKhorev/diary-og-description
[rails.git] / app / assets / stylesheets / common.scss
index a1734682e159e2c3040ca67fee5b828c864331cd..321b0bcb9af1dd17fa091ca51e1f8dbf397991b7 100644 (file)
@@ -412,9 +412,12 @@ body.small-nav {
 
 .layers-ui {
   .base-layers > * {
-    height: 56px;
+    height: 3.5rem;
 
     > .btn {
+      box-sizing: content-box;
+      top: - map.get($border-widths, 4);
+      left: - map.get($border-widths, 4);
       --bs-btn-border-color: var(--bs-body-bg);
     }
     > .btn:hover {