WordPress.org

Make WordPress Core

Ticket #30359: 30359.diff

File 30359.diff, 335 bytes (added by chetan200891, 3 years ago)

Created patch so Widget Areas stick to the browser viewport.

  • wp-admin/css/widgets.css

    diff --git a/wp-admin/css/widgets.css b/wp-admin/css/widgets.css
    index 976ab9b..2d923e0 100644
    a b ul.CodeMirror-hints { 
    834834                margin: 0;
    835835        }
    836836}
     837
     838@media only screen and (min-width: 481px) {
     839        .widget-liquid-right {
     840                position: sticky;
     841                top: 42px;
     842        }
     843}