Update safe area CSS for webkit.org
authorjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Nov 2017 21:29:47 +0000 (21:29 +0000)
committerjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Nov 2017 21:29:47 +0000 (21:29 +0000)
https://bugs.webkit.org/show_bug.cgi?id=179615

Reviewed by Alexey Proskuryakov.

* wp-content/themes/webkit/style.css:
(@media only screen and (max-height: 415px)):
(@supports(padding:max(0px))):

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

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

index 55dae6e..fc41b67 100644 (file)
@@ -1,5 +1,16 @@
 2017-11-13  Jon Davis  <jond@apple.com>
 
+        Update safe area CSS for webkit.org
+        https://bugs.webkit.org/show_bug.cgi?id=179615
+
+        Reviewed by Alexey Proskuryakov.
+
+        * wp-content/themes/webkit/style.css:
+        (@media only screen and (max-height: 415px)):
+        (@supports(padding:max(0px))):
+
+2017-11-13  Jon Davis  <jond@apple.com>
+
         Add a new landing page design and site-wide design detail updates for webkit.org
         https://bugs.webkit.org/show_bug.cgi?id=179558
 
index 81dc3df..1ac8da1 100644 (file)
@@ -2074,8 +2074,8 @@ header .menu-item { /* add bottom dimension to main menu items */
         #nightly,
         footer {
             box-sizing: border-box;
-            padding-left: constant(safe-area-inset-left);
-            padding-right: constant(safe-area-inset-right);
+            padding-left: env(safe-area-inset-left);
+            padding-right: env(safe-area-inset-right);
         }
         
         header .menu .menu-item > .sub-menu {