Fix submenu behavior for narrow viewports
authorjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Jan 2020 23:10:20 +0000 (23:10 +0000)
committerjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Jan 2020 23:10:20 +0000 (23:10 +0000)
https://bugs.webkit.org/show_bug.cgi?id=206835

Reviewed by Devin Rousso.

* wp-content/themes/webkit/header.php:
* wp-content/themes/webkit/style.css:
(@media only screen and (max-width: 920px) header .menu > .menu-item:hover > .sub-menu,):
(@media only screen and (max-width: 920px) header .menu > .menu-item > .menu-toggle:checked ~ .sub-menu): Deleted.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@255183 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/webkit.org/ChangeLog
Websites/webkit.org/wp-content/themes/webkit/header.php
Websites/webkit.org/wp-content/themes/webkit/style.css

index 0e0d98f..9e9fa27 100644 (file)
@@ -1,3 +1,15 @@
+2020-01-27  Jon Davis  <jond@apple.com>
+
+        Fix submenu behavior for narrow viewports
+        https://bugs.webkit.org/show_bug.cgi?id=206835
+
+        Reviewed by Devin Rousso.
+
+        * wp-content/themes/webkit/header.php:
+        * wp-content/themes/webkit/style.css:
+        (@media only screen and (max-width: 920px) header .menu > .menu-item:hover > .sub-menu,):
+        (@media only screen and (max-width: 920px) header .menu > .menu-item > .menu-toggle:checked ~ .sub-menu): Deleted.
+
 2020-01-24  Jon Davis  <jond@apple.com>
 
         Fix editing permissions for the Web Inspector Editor role
index 6abded5..d66a5cd 100644 (file)
@@ -11,7 +11,7 @@
 
     <meta name="application-name" content="WebKit">
 
-    <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>?20200115" media="all">
+    <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>?20200127" media="all">
     <link rel="stylesheet" href="https://www.apple.com/wss/fonts?families=SF+Pro,v1" type="text/css">
     <link rel="stylesheet" href="https://www.apple.com/wss/fonts?families=SF+Mono,v2" type="text/css">
     <meta name="supported-color-schemes" content="light dark">
index 2890c74..4fed66f 100644 (file)
@@ -2421,6 +2421,7 @@ header .menu-item { /* add bottom dimension to main menu items */
         margin-left: -11px;
     }
 
+    header .menu > .menu-item:hover > .sub-menu,
     header .menu > .menu-item > .menu-toggle:checked ~ .sub-menu {
         position: relative;
         top: 1.5rem;