From 430a8f85217de68e789843eecea7d9608a45065d Mon Sep 17 00:00:00 2001 From: Dan Head Date: Tue, 18 Dec 2018 09:51:49 +0000 Subject: [PATCH] Fix garbage Twitter inline styles --- css/article.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/css/article.css b/css/article.css index d4e7bce..29f0906 100644 --- a/css/article.css +++ b/css/article.css @@ -121,14 +121,17 @@ * Wordpress overrides */ -.article .twitter-tweet, +.article .twitter-tweet { + width: auto !important; +} + .article .wp-caption { background-color: #fff; border: 1px solid var(--color-light-grey); border-radius: 4px; + display: inline-block; margin: 0 0 var(--space-sm); padding: var(--space-sm); - text-align: center; } .article .wp-caption a { @@ -139,10 +142,6 @@ display: none; } -.article [class*="wp-caption"] { - width: auto !important; -} - @media (--viewport-lg) { .article .twitter-tweet, .article .wp-caption {