wp core update 6.6
This commit is contained in:
@@ -137,15 +137,6 @@
|
||||
"type": "flex"
|
||||
}
|
||||
},
|
||||
"__experimentalStyle": {
|
||||
"elements": {
|
||||
"link": {
|
||||
"color": {
|
||||
"text": "inherit"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"interactivity": true,
|
||||
"renaming": false
|
||||
},
|
||||
|
||||
@@ -309,10 +309,6 @@
|
||||
top:141px;
|
||||
}
|
||||
|
||||
.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{
|
||||
left:280px;
|
||||
}
|
||||
|
||||
.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{
|
||||
right:0;
|
||||
top:155px;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -309,10 +309,6 @@
|
||||
top:141px;
|
||||
}
|
||||
|
||||
.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{
|
||||
right:280px;
|
||||
}
|
||||
|
||||
.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{
|
||||
left:0;
|
||||
top:155px;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -175,6 +175,7 @@ button.wp-block-navigation-item__content{
|
||||
font-size:inherit;
|
||||
font-style:inherit;
|
||||
font-weight:inherit;
|
||||
letter-spacing:inherit;
|
||||
line-height:inherit;
|
||||
text-align:right;
|
||||
text-transform:inherit;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -175,6 +175,7 @@ button.wp-block-navigation-item__content{
|
||||
font-size:inherit;
|
||||
font-style:inherit;
|
||||
font-weight:inherit;
|
||||
letter-spacing:inherit;
|
||||
line-height:inherit;
|
||||
text-align:left;
|
||||
text-transform:inherit;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -110,7 +110,9 @@ const {
|
||||
ref
|
||||
} = (0,interactivity_namespaceObject.getElement)();
|
||||
// Safari won't send focus to the clicked element, so we need to manually place it: https://bugs.webkit.org/show_bug.cgi?id=22261
|
||||
if (window.document.activeElement !== ref) ref.focus();
|
||||
if (window.document.activeElement !== ref) {
|
||||
ref.focus();
|
||||
}
|
||||
const {
|
||||
menuOpenedBy
|
||||
} = state;
|
||||
@@ -157,7 +159,7 @@ const {
|
||||
// If focus is outside modal, and in the document, close menu
|
||||
// event.target === The element losing focus
|
||||
// event.relatedTarget === The element receiving focus (if any)
|
||||
// When focusout is outsite the document,
|
||||
// When focusout is outside the document,
|
||||
// `window.document.activeElement` doesn't change.
|
||||
|
||||
// The event.relatedTarget is null when something outside the navigation menu is clicked. This is only necessary for Safari.
|
||||
|
||||
Reference in New Issue
Block a user