diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-02-24 12:11:27 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-02-24 12:11:27 +0000 |
commit | 3ee3ded5603ffc2fa34e58b2d21457a75dc99a4b (patch) | |
tree | 3135a6273d6782a7d00767fbb040457d25538217 | |
parent | a3c4648e26ef9480df3c99716c8c55260bb4a1e2 (diff) |
Sidebar text in main body for non-JS, as map size stays same.
-rw-r--r-- | templates/web/fixmystreet/header.html | 4 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/base.scss | 1 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/layout.scss | 11 |
3 files changed, 14 insertions, 2 deletions
diff --git a/templates/web/fixmystreet/header.html b/templates/web/fixmystreet/header.html index 879f3c971..d66f0fab4 100644 --- a/templates/web/fixmystreet/header.html +++ b/templates/web/fixmystreet/header.html @@ -29,7 +29,7 @@ [% INCLUDE 'tracking_code.html' %] </head> - <body class="[% "$bodyclass" | html IF bodyclass %]"> + <body class="[% bodyclass | html IF bodyclass %]"> <div class="wrapper"> @@ -52,6 +52,6 @@ </div> <div class="container"> - <div class="content [% "$mainclass" | html IF mainclass %]" role="main"> + <div class="content[% " $mainclass" | html IF mainclass %]" role="main"> <!-- [% INCLUDE 'debug_header.html' %] --> diff --git a/web/cobrands/fixmystreet/base.scss b/web/cobrands/fixmystreet/base.scss index 25157c0f1..d3cdca68f 100644 --- a/web/cobrands/fixmystreet/base.scss +++ b/web/cobrands/fixmystreet/base.scss @@ -897,6 +897,7 @@ a:hover.button-left { input, img { position: absolute; border: none; + max-width: none; } input { cursor: crosshair; diff --git a/web/cobrands/fixmystreet/layout.scss b/web/cobrands/fixmystreet/layout.scss index a9bbb1394..a70887fbb 100644 --- a/web/cobrands/fixmystreet/layout.scss +++ b/web/cobrands/fixmystreet/layout.scss @@ -532,6 +532,16 @@ textarea.form-error { } } +.no-js #report-a-problem-sidebar { + position: static; + width: auto; + @include box-shadow(rgba(0, 0, 0, 0), 0, 0, 0); + .sidebar-tips, + .sidebar-notes { + font-size:1em; + } +} + // More general sidebar notes .general-sidebar-notes { position: absolute; @@ -778,6 +788,7 @@ body.frontpage { } //put the RAP notes into the main copy area + // Note: Also used for the non-JS case. #report-a-problem-sidebar { position: static; width: auto; |