]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/small.scss
Fix small screen CSS rules that match on a body class
[rails.git] / app / assets / stylesheets / small.scss
index 1865572a3acbe7f5d7865ffb95d8f1015bfe9359..5377ca2640f9925ec03b43e284509dce492f25a6 100644 (file)
@@ -98,7 +98,7 @@ body.small {
     display: inline-block;
   }
 
     display: inline-block;
   }
 
-  .map-layout {
+  &.map-layout {
     #sidebar, #map {
       position: relative;
       overflow-x: hidden;
     #sidebar, #map {
       position: relative;
       overflow-x: hidden;
@@ -178,8 +178,8 @@ body.small {
 
   /* Rules for the sign-up page */
 
 
   /* Rules for the sign-up page */
 
-  .user-new,
-  .user-create {
+  &.user-new,
+  &.user-create {
     .col6 {
       width: 100%;
     }
     .col6 {
       width: 100%;
     }
@@ -189,7 +189,7 @@ body.small {
     }
   }
 
     }
   }
 
-  .site-about #content .attr h1 {
+  &.site-about #content .attr h1 {
     font-size: 28px;
   }
 
     font-size: 28px;
   }