Index: trunk/extensions/Narayam/resources/ext.narayam.core.css |
— | — | @@ -6,11 +6,6 @@ |
7 | 7 | background-color: #EAF3F8 !important; |
8 | 8 | } |
9 | 9 | |
10 | | -.narayam-wrapper { |
11 | | - padding: 0; |
12 | | - margin: 0; |
13 | | -} |
14 | | - |
15 | 10 | li#pt-narayam { |
16 | 11 | padding-left: 15px !important; |
17 | 12 | } |
— | — | @@ -21,9 +16,7 @@ |
22 | 17 | direction: ltr; |
23 | 18 | float: left; |
24 | 19 | } |
25 | | -div.narayam-menuFocus { |
26 | | - background-position: -22px 60%; |
27 | | -} |
| 20 | + |
28 | 21 | /* @noflip */ |
29 | 22 | body.rtl div#narayam-menu { |
30 | 23 | direction: rtl; |
— | — | @@ -34,7 +27,7 @@ |
35 | 28 | clear: both; |
36 | 29 | text-align: left; |
37 | 30 | z-index: 99999; |
38 | | - width: 300px; |
| 31 | + width: 200px; |
39 | 32 | top: 20px; |
40 | 33 | font-size: 0.8em; |
41 | 34 | } |
— | — | @@ -85,6 +78,7 @@ |
86 | 79 | text-align: left; |
87 | 80 | max-height: 360px; |
88 | 81 | overflow-y: auto; |
| 82 | + width: 100%; |
89 | 83 | } |
90 | 84 | |
91 | 85 | div#narayam-menu li { |
Index: trunk/extensions/Narayam/resources/ext.narayam.core.js |
— | — | @@ -609,7 +609,8 @@ |
610 | 610 | $( '.narayam-scheme', $('.narayam-scheme-dynamic-item') ).live( 'click', function() { |
611 | 611 | that.setScheme( $( this ).val() ); |
612 | 612 | // rebuild the menu items with recent items. |
613 | | - $( '#narayam-menu-items' ).html( $.narayam.buildMenuItems() ); |
| 613 | + $( '#narayam-menu' ).html( $.narayam.buildMenuItems() ); |
| 614 | + $( '#narayam-menu-items' ).css( 'left', $('li#pt-narayam').offset().left ); |
614 | 615 | $( '#narayam-' + $( this ).val() ).prop( 'checked', true ); |
615 | 616 | if ( enabled ) { |
616 | 617 | $( '#narayam-toggle' ).prop( 'checked', true ); |