diff options
author | Josh Angell <josh@supercooldesign.co.uk> | 2012-02-27 11:58:53 +0000 |
---|---|---|
committer | Josh Angell <josh@supercooldesign.co.uk> | 2012-02-27 11:58:53 +0000 |
commit | f7ced767e57b249cda3e5215042534d4c47b3e2b (patch) | |
tree | 268277f97c75d31097b8cbb0ac0928d90346b544 | |
parent | 9d00fff2443accdff0fbf7153c1781b454616bc6 (diff) |
Added opera class to <html> with js, plus added opera to the table-caption / caption-side fix so we can solve the problem of the nav not appearing on Opera (see issue #219)
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 4 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/layout.scss | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index 01f4b8774..155504010 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -96,6 +96,10 @@ $(function(){ } } + if ($.browser.opera) { + $('html').addClass('opera'); + } + $('html').removeClass('no-js').addClass('js'); $('#pc').focus(); diff --git a/web/cobrands/fixmystreet/layout.scss b/web/cobrands/fixmystreet/layout.scss index 12856ad2a..884050749 100644 --- a/web/cobrands/fixmystreet/layout.scss +++ b/web/cobrands/fixmystreet/layout.scss @@ -67,11 +67,12 @@ body { } //position absolute the menu as ie doesn't like display:table -.ie6, .ie7 { +.ie6, .ie7, .opera { .nav-wrapper { position: absolute; top:0; left:0; + width:100%; .nav-wrapper-2 { // position static as well so we fix lots of the z-index issues position:static; |