Index: trunk/extensions/MobileFrontend/javascripts/beta_application.js |
— | — | @@ -76,16 +76,8 @@ |
77 | 77 | } |
78 | 78 | |
79 | 79 | function logoClick() { |
80 | | - var n = document.getElementById( 'nav' ).style, newWidth; |
| 80 | + var n = document.getElementById( 'nav' ).style; |
81 | 81 | n.display = n.display === 'block' ? 'none' : 'block'; |
82 | | - if (n.display === 'block') { |
83 | | - if ( languageSelection ) { |
84 | | - if ( languageSelection.offsetWidth > 175 ) { |
85 | | - newWidth = languageSelection.offsetWidth + 30; |
86 | | - n.width = newWidth + 'px'; |
87 | | - } |
88 | | - } |
89 | | - } |
90 | 82 | } |
91 | 83 | initClearSearchLink(); |
92 | 84 | search.onpaste = function() { |
Index: trunk/extensions/MobileFrontend/javascripts/application.js |
— | — | @@ -67,16 +67,8 @@ |
68 | 68 | } |
69 | 69 | |
70 | 70 | function logoClick() { |
71 | | - var n = document.getElementById( 'nav' ).style, newWidth; |
| 71 | + var n = document.getElementById( 'nav' ).style; |
72 | 72 | n.display = n.display === 'block' ? 'none' : 'block'; |
73 | | - if (n.display === 'block') { |
74 | | - if ( languageSelection ) { |
75 | | - if ( languageSelection.offsetWidth > 175 ) { |
76 | | - newWidth = languageSelection.offsetWidth + 30; |
77 | | - n.width = newWidth + 'px'; |
78 | | - } |
79 | | - } |
80 | | - } |
81 | 73 | } |
82 | 74 | initClearSearchLink(); |
83 | 75 | utilities( document.getElementById( 'logo' ) ).bind( 'click', logoClick ); |
Index: trunk/extensions/MobileFrontend/stylesheets/common.css |
— | — | @@ -594,15 +594,19 @@ |
595 | 595 | -moz-border-radius: 2px; |
596 | 596 | clear: both; |
597 | 597 | display: none; |
598 | | - width: 172px; |
599 | 598 | border: 1px solid #cccccc; |
600 | 599 | border-top: 0px; |
601 | 600 | margin: -1px 0 0 0; |
602 | 601 | background: white; |
603 | 602 | padding: 0 5px 5px 5px; |
604 | 603 | position: relative; |
| 604 | + float: left; |
605 | 605 | } |
606 | 606 | |
| 607 | +#languageselection { |
| 608 | + margin-right: 35px; |
| 609 | +} |
| 610 | + |
607 | 611 | #nav form, |
608 | 612 | #nav button { |
609 | 613 | display: inline-block; |
Index: trunk/extensions/MobileFrontend/stylesheets/beta_common.css |
— | — | @@ -595,15 +595,19 @@ |
596 | 596 | clear: both; |
597 | 597 | padding: 5px 0; |
598 | 598 | display: none; |
599 | | - width: 172px; |
600 | 599 | border: 1px solid #cccccc; |
601 | 600 | border-top: 0px; |
602 | 601 | margin: -1px 0 0 0; |
603 | 602 | background: white; |
604 | 603 | padding: 0 5px 5px 5px; |
605 | 604 | position: relative; |
| 605 | + float: left; |
606 | 606 | } |
607 | 607 | |
| 608 | +#languageselection { |
| 609 | + margin-right: 35px; |
| 610 | +} |
| 611 | + |
608 | 612 | #nav form, |
609 | 613 | #nav button { |
610 | 614 | display: inline-block; |