diff --git a/src/js/_enqueues/admin/common.js b/src/js/_enqueues/admin/common.js
index c2dfaaf99f..22bdea49e5 100644
|
a
|
b
|
$( function() { |
| 816 | 816 | currentPage = pageInput.val(), |
| 817 | 817 | isIOS = /iPhone|iPad|iPod/.test( navigator.userAgent ), |
| 818 | 818 | isAndroid = navigator.userAgent.indexOf( 'Android' ) !== -1, |
| 819 | | $adminMenuWrap = $( '#adminmenuwrap' ), |
| | 819 | $adminMenuWrap = $( 'body:not(.php-error) #adminmenuwrap' ), |
| 820 | 820 | $wpwrap = $( '#wpwrap' ), |
| 821 | 821 | $adminmenu = $( '#adminmenu' ), |
| 822 | 822 | $overlay = $( '#wp-responsive-overlay' ), |
diff --git a/src/wp-admin/css/admin-menu.css b/src/wp-admin/css/admin-menu.css
index 0dc59c6e6b..b38c3e43ba 100644
|
a
|
b
|
|
| 16 | 16 | .php-error #adminmenuback { |
| 17 | 17 | position: absolute; |
| 18 | 18 | } |
| | 19 | .php-error #adminmenuwrap { |
| | 20 | position: absolute !important; |
| | 21 | top: 0 !important; |
| | 22 | } |
| 19 | 23 | |
| 20 | 24 | .php-error #adminmenuback, |
| 21 | 25 | .php-error #adminmenuwrap { |
| 22 | | margin-top: 2em; |
| | 26 | margin-top: 32px; |
| 23 | 27 | } |
| 24 | 28 | |
| 25 | 29 | #adminmenu { |
| … |
… |
div.wp-menu-image:before { |
| 326 | 330 | } |
| 327 | 331 | |
| 328 | 332 | /* Sticky admin menu */ |
| 329 | | .sticky-menu #adminmenuwrap { |
| | 333 | .sticky-menu:not(.php-error) #adminmenuwrap { |
| 330 | 334 | position: fixed; |
| 331 | 335 | } |
| 332 | 336 | |
| … |
… |
li#wp-admin-bar-menu-toggle { |
| 687 | 691 | .auto-fold #adminmenuback { |
| 688 | 692 | position: fixed; |
| 689 | 693 | } |
| | 694 | .php-error.auto-fold #adminmenuback { |
| | 695 | top: auto; |
| | 696 | } |
| 690 | 697 | |
| 691 | 698 | .auto-fold #adminmenuback, |
| 692 | 699 | .auto-fold #adminmenuwrap { |
diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css
index f808cf1c7f..8a9cd84bdf 100644
|
a
|
b
|
form#tags-filter { |
| 736 | 736 | margin-top: 5px; |
| 737 | 737 | } |
| 738 | 738 | |
| | 739 | .php-error #wpbody-content { |
| | 740 | margin-top: 32px; |
| | 741 | } |
| | 742 | .php-error.block-editor-page #wpwrap { |
| | 743 | position: absolute; |
| | 744 | top: 0; |
| | 745 | } |
| | 746 | |
| 739 | 747 | /* Emulates .wrap h1 styling */ |
| 740 | 748 | .privacy-settings-header h1, |
| 741 | 749 | .health-check-header h1 { |
| … |
… |
table.links-table { |
| 1797 | 1805 | #post-body-content { |
| 1798 | 1806 | min-width: 0; |
| 1799 | 1807 | } |
| | 1808 | .php-error.block-editor-page #wpwrap { |
| | 1809 | position: fixed; |
| | 1810 | top: 0; |
| | 1811 | background: white; |
| | 1812 | } |
| | 1813 | .php-error #wpwrap.wp-responsive-open #adminmenuwrap { |
| | 1814 | position: fixed; |
| | 1815 | top: 0; |
| | 1816 | } |
| 1800 | 1817 | |
| 1801 | 1818 | #titlediv #title-prompt-text { |
| 1802 | 1819 | padding: 10px; |
diff --git a/src/wp-includes/css/admin-bar.css b/src/wp-includes/css/admin-bar.css
index 8f73274b03..abd75ef4eb 100644
|
a
|
b
|
html:lang(he-il) .rtl #wpadminbar * { |
| 850 | 850 | font: 28px/1 dashicons !important; |
| 851 | 851 | top: -3px; |
| 852 | 852 | } |
| | 853 | .php-error #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before { |
| | 854 | top: 9px; |
| | 855 | } |
| 853 | 856 | |
| 854 | 857 | #wpadminbar .ab-icon, |
| 855 | 858 | #wpadminbar .ab-item:before { |