From ea205052a8f259d1c6157ce5d29927d768d037ed Mon Sep 17 00:00:00 2001 From: Danny Dudzic Date: Tue, 6 Aug 2019 11:09:27 +0200 Subject: [PATCH] Calm Business: Fix the cover h2 alignment in the editor --- calm-business/style-editor.css | 4 ++++ calm-business/style-editor.scss | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/calm-business/style-editor.css b/calm-business/style-editor.css index 49980ea3e..9d44d33f0 100644 --- a/calm-business/style-editor.css +++ b/calm-business/style-editor.css @@ -1197,6 +1197,10 @@ figcaption, } } +.wp-block-cover h2 { + text-align: inherit; +} + @media only screen and (min-width: 768px) { .wp-block-cover { padding: 1rem 10%; diff --git a/calm-business/style-editor.scss b/calm-business/style-editor.scss index 0d6cc7da5..2f9313255 100644 --- a/calm-business/style-editor.scss +++ b/calm-business/style-editor.scss @@ -381,6 +381,10 @@ figcaption, } } + h2 { + text-align: inherit; + } + @include media(tablet) { padding: $size__spacing-unit 10%; min-height: 620px;