Fix garbage Twitter inline styles

This commit is contained in:
2018-12-18 09:51:49 +00:00
parent 667f774897
commit 430a8f8521

View File

@@ -121,14 +121,17 @@
* Wordpress overrides * Wordpress overrides
*/ */
.article .twitter-tweet, .article .twitter-tweet {
width: auto !important;
}
.article .wp-caption { .article .wp-caption {
background-color: #fff; background-color: #fff;
border: 1px solid var(--color-light-grey); border: 1px solid var(--color-light-grey);
border-radius: 4px; border-radius: 4px;
display: inline-block;
margin: 0 0 var(--space-sm); margin: 0 0 var(--space-sm);
padding: var(--space-sm); padding: var(--space-sm);
text-align: center;
} }
.article .wp-caption a { .article .wp-caption a {
@@ -139,10 +142,6 @@
display: none; display: none;
} }
.article [class*="wp-caption"] {
width: auto !important;
}
@media (--viewport-lg) { @media (--viewport-lg) {
.article .twitter-tweet, .article .twitter-tweet,
.article .wp-caption { .article .wp-caption {