Sfoglia il codice sorgente

Apostrophe 2: Remove embed aspect ratio styles, as they seem to interfere with the responsive embed support.

Laurel Fulford 6 anni fa
parent
commit
ee4eb36d36
1 ha cambiato i file con 1 aggiunte e 21 eliminazioni
  1. 1 21
      apostrophe-2/css/blocks.css

+ 1 - 21
apostrophe-2/css/blocks.css

@@ -85,26 +85,6 @@ p.has-drop-cap:not(:focus)::first-letter {
 	height: 100% !important;
 }
 
-.wp-embed-aspect-1-1:before {
-	padding-top: 100%;
-}
-
-.wp-embed-aspect-2-1:before {
-	padding-top: 50%;
-}
-
-.wp-embed-aspect-1-2:before {
-	padding-top: 200%;
-}
-
-.wp-embed-aspect-4-3:before {
-	padding-top: 75%;
-}
-
-.wp-embed-aspect-16-9:before {
-	padding-top: 56.25%;
-}
-
 /* Wide Width */
 
 @media (min-width: 1024px) {
@@ -163,7 +143,7 @@ p.has-drop-cap:not(:focus)::first-letter {
 	text-align: left;
 }
 
-.rtl .wp-block-quote.is-large cite, 
+.rtl .wp-block-quote.is-large cite,
 .rtl .wp-block-quote.is-large footer,
 .rtl .wp-block-quote.is-style-large cite,
 .rtl .wp-block-quote.is-style-large footer {