Ticket #5975: min-width.diff
| File min-width.diff, 2.5 KB (added by , 18 years ago) |
|---|
-
wp-admin/admin-header.php
6 6 wp_enqueue_script( 'wp_tiny_mce' ); 7 7 } 8 8 9 $min_width_pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'widgets.php', 'comment.php' ); 10 $the_current_page = preg_replace('|^.*/wp-admin/|i', '', $_SERVER['PHP_SELF']); 11 $ie6_no_scrollbar = true; 12 13 function add_minwidth($c) { 14 return $c . 'minwidth '; 15 } 16 17 if ( in_array( $the_current_page, $min_width_pages ) ) { 18 $ie6_no_scrollbar = false; 19 add_filter( 'admin_body_class', 'add_minwidth' ); 20 } 21 9 22 get_admin_page_title(); 10 23 11 24 ?> … … 26 39 //<![CDATA[ 27 40 addLoadEvent=(function(){var e=[],t,s,n,i,o,d=document,w=window,r='readyState',c='onreadystatechange',x=function(){n=1;clearInterval(t);while(i=e.shift())i();if(s)s[c]=''};return function(f){if(n)return f();if(!e[0]){d.addEventListener&&d.addEventListener("DOMContentLoaded",x,false);/*@cc_on@*//*@if(@_win32)d.write("<script id=__ie_onload defer src=//0><\/scr"+"ipt>");s=d.getElementById("__ie_onload");s[c]=function(){s[r]=="complete"&&x()};/*@end@*/if(/WebKit/i.test(navigator.userAgent))t=setInterval(function(){/loaded|complete/.test(d[r])&&x()},10);o=w.onload;w.onload=function(){x();o&&o()}}e.push(f)}})();//]]> 28 41 </script> 29 <?php if ( ($parent_file != 'link-manager.php') && ($parent_file != 'options-general.php') ) : ?>42 <?php if ( ($parent_file != 'link-manager.php') && ($parent_file != 'options-general.php') && $ie6_no_scrollbar ) : ?> 30 43 <style type="text/css">* html { overflow-x: hidden; }</style> 31 44 <?php endif; 32 45 if ( isset($page_hook) ) -
wp-admin/css/ie.css
7 7 #submenu li a.current { 8 8 background:none; 9 9 border:none; 10 } 11 No newline at end of file 10 } 11 12 * html body.minwidth { 13 _width: expression(document.documentElement.clientWidth < 942 ? "940px" : "auto"); 14 } 15 16 * html #poststuff #titlediv { 17 display: inline-block; 18 } 19 20 * html div.widget-liquid-left-holder, * html div.widget-liquid-right { 21 display: block; 22 position: relative; 23 } -
wp-admin/wp-admin.css
1328 1328 .commentlist .avatar { 1329 1329 vertical-align:text-top; 1330 1330 } 1331 1332 body.minwidth { 1333 min-width: 940px; 1334 }