Fix icons positioned incorrectly when a featured image is used
authorjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Jun 2019 18:23:49 +0000 (18:23 +0000)
committerjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Jun 2019 18:23:49 +0000 (18:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=198535

Reviewed by Devin Rousso.

* wp-content/themes/webkit/style.css:
(.tile .background-image.loaded svg):
(.tile .featured-image::before):

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

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

index db7c299..296e60e 100644 (file)
@@ -1,5 +1,16 @@
 2019-06-05  Jon Davis  <jond@apple.com>
 
+        Fix icons positioned incorrectly when a featured image is used
+        https://bugs.webkit.org/show_bug.cgi?id=198535
+
+        Reviewed by Devin Rousso.
+
+        * wp-content/themes/webkit/style.css:
+        (.tile .background-image.loaded svg):
+        (.tile .featured-image::before):
+
+2019-06-05  Jon Davis  <jond@apple.com>
+
         Improve accessibility on webkit.org
         https://bugs.webkit.org/show_bug.cgi?id=198531
 
index dc44868..82307ca 100644 (file)
@@ -900,8 +900,13 @@ footer .menu {
             filter: saturate(1);
 }
 
+.tile .background-image.loaded svg {
+    display: none;
+}
+
 .tile .featured-image::before {
-    padding-bottom: 80%;
+    padding-top: 80%;
+    margin-bottom: 20%;
     content: '';
     display: block;
 }