From 45b70dea843590ec6a9eaf40aa7135e1d1d15752 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 23 Jul 2015 18:35:49 +0100 Subject: [PATCH] Fix small screen CSS rules that match on a body class --- app/assets/stylesheets/small.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/small.scss b/app/assets/stylesheets/small.scss index 1865572a3..5377ca264 100644 --- a/app/assets/stylesheets/small.scss +++ b/app/assets/stylesheets/small.scss @@ -98,7 +98,7 @@ body.small { display: inline-block; } - .map-layout { + &.map-layout { #sidebar, #map { position: relative; overflow-x: hidden; @@ -178,8 +178,8 @@ body.small { /* Rules for the sign-up page */ - .user-new, - .user-create { + &.user-new, + &.user-create { .col6 { width: 100%; } @@ -189,7 +189,7 @@ body.small { } } - .site-about #content .attr h1 { + &.site-about #content .attr h1 { font-size: 28px; } -- 2.39.5