Changeset 47263
- Timestamp:
- 02/11/2020 03:24:47 PM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/admin/widgets.js
r47122 r47263 128 128 129 129 $(document.body).bind('click.widgets-toggle', function(e) { 130 var target = $(e.target), 131 css = { 'z-index': 100 }, 130 var target = $(e.target), css = {}, 132 131 widget, inside, targetWidth, widgetWidth, margin, saveButton, widgetId, 133 132 toggleBtn = target.closest( '.widget' ).find( '.widget-top button.widget-action' ); … … 213 212 distance: 2, 214 213 helper: 'clone', 215 zIndex: 10 0,214 zIndex: 101, 216 215 containment: '#wpwrap', 217 216 refreshPositions: true, -
trunk/src/wp-admin/css/widgets.css
r47257 r47263 5 5 position: relative; 6 6 box-sizing: border-box; 7 } 8 9 .widget.open { 10 z-index: 99; 11 } 12 .widget.open:focus-within { 13 z-index: 100; 7 14 } 8 15
Note: See TracChangeset
for help on using the changeset viewer.