Make WordPress Core

Ticket #28328: 28328.12.patch

File 28328.12.patch, 1.9 KB (added by iseulde, 11 years ago)
  • src/wp-admin/css/common.css

     
    26422642                -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    26432643        }
    26442644
    2645         #wpwrap {
    2646                 background: #f0f0f0;
    2647         }
    2648 
    26492645        #wpcontent {
    26502646                position: relative;
    26512647                margin-left: 0;
  • src/wp-admin/js/editor-expand.js

     
    285285                        $top.css( {
    286286                                position: 'fixed',
    287287                                top: adminBarHeight + toolsHeight,
    288                                 width: editorWidth - ( visual ? 0 : 38 ),
     288                                width: $editor.parent().width() - ( $top.outerWidth() - $top.width() ),
    289289                                borderTop: '1px solid #e5e5e5'
    290290                        } );
    291291
     
    310310                                $tools.css( {
    311311                                        position: 'absolute',
    312312                                        top: 0,
    313                                         borderTop: 'none',
    314313                                        width: $contentWrap.width()
    315314                                } );
    316315                        // Handle scrolling down.
     
    319318
    320319                                $top.css( {
    321320                                        position: 'absolute',
    322                                         top: window.pageYOffset - $editor.offset().top + adminBarHeight + $tools.outerHeight(),
    323                                         borderTop: 'none'
     321                                        top: editorHeight - buffer,
    324322                                } );
    325323
    326324                                $tools.css( {
    327325                                        position: 'absolute',
    328                                         top: window.pageYOffset - $contentWrap.offset().top + adminBarHeight,
    329                                         borderTop: 'none',
     326                                        top: editorHeight - buffer + 1, // border
    330327                                        width: $contentWrap.width()
    331328                                } );
    332329                        }
  • src/wp-includes/css/editor.css

     
    756756        position: relative;
    757757}
    758758
    759 .wp-editor-tools {
     759#wp-content-editor-tools {
    760760        background-color: #f1f1f1;
    761761        padding-top: 20px;
    762762        position: relative;