From af2d1011649b076fbbc3850a46eb9e3fc294dc57 Mon Sep 17 00:00:00 2001 From: Cor van Noorloos Date: Wed, 5 Aug 2015 21:30:03 +0200 Subject: [PATCH] Remove remaining caption margin-top and margin-bottom see https://github.com/Automattic/_s/commit/3d6bd4df3983e3cbd0ce5f3f6629419d6d84035a --- sass/media/_captions.scss | 2 +- style.css | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/sass/media/_captions.scss b/sass/media/_captions.scss index 4feb5204..c299bfe8 100644 --- a/sass/media/_captions.scss +++ b/sass/media/_captions.scss @@ -13,4 +13,4 @@ .wp-caption-text { text-align: center; -} \ No newline at end of file +} diff --git a/style.css b/style.css index b2ad2443..5df557d2 100644 --- a/style.css +++ b/style.css @@ -826,17 +826,18 @@ object { .wp-caption img[class*="wp-image-"] { display: block; - margin: 0 auto; -} - -.wp-caption-text { - text-align: center; + margin-left: auto; + margin-right: auto; } .wp-caption .wp-caption-text { margin: 0.8075em 0; } +.wp-caption-text { + text-align: center; +} + /*-------------------------------------------------------------- ## Galleries --------------------------------------------------------------*/