Procházet zdrojové kódy

Merge pull request #3218 from Automattic/fix/color-issue-with-media-text

Varia: Remove color overrides for media and text
Ben Dwyer před 4 roky
rodič
revize
3de9463b2a

+ 0 - 4
barnsbury/style-rtl.css

@@ -2013,10 +2013,6 @@ dd {
 	margin-bottom: 0;
 }
 
-.wp-block-media-text[class*="background-color"]:not(.has-background-background-color) .wp-block-media-text__content a, .wp-block-media-text[style*="background-color"] .wp-block-media-text__content a {
-	color: currentColor;
-}
-
 @media only screen and (min-width: 560px) {
 	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
 		padding-top: 32px;

+ 0 - 4
barnsbury/style.css

@@ -2013,10 +2013,6 @@ dd {
 	margin-bottom: 0;
 }
 
-.wp-block-media-text[class*="background-color"]:not(.has-background-background-color) .wp-block-media-text__content a, .wp-block-media-text[style*="background-color"] .wp-block-media-text__content a {
-	color: currentColor;
-}
-
 @media only screen and (min-width: 560px) {
 	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
 		padding-top: 32px;

+ 0 - 9
varia/sass/blocks/media-text/_style.scss

@@ -26,15 +26,6 @@
 		}
 	}
 
-	&[class*="background-color"]:not(.has-background-background-color),
-	&[style*="background-color"] {
-		.wp-block-media-text__content {
-			a {
-				color: currentColor;
-			}
-		}
-	}
-
 	/**
 	 * Block Options
 	 */