diff --git a/modern-business/style-editor.css b/modern-business/style-editor.css index f058f9967..f799807de 100644 --- a/modern-business/style-editor.css +++ b/modern-business/style-editor.css @@ -1840,9 +1840,10 @@ ul.wp-block-archives li ul, } /** === Site Description Block === */ -.wp-block-a8c-site-description { +.wp-block-a8c-site-description, .wp-block-a8c-site-description:focus { text-align: center; margin: 0; + line-height: 0.8em; } /** === Classic Editor === */ diff --git a/modern-business/style-editor.scss b/modern-business/style-editor.scss index 6627da72b..405a8e2d4 100644 --- a/modern-business/style-editor.scss +++ b/modern-business/style-editor.scss @@ -910,8 +910,13 @@ ul.wp-block-archives, /** === Site Description Block === */ .wp-block-a8c-site-description { - text-align: center; - margin: 0; + &,&:focus { + text-align: center; + margin: 0; + // Line height rounded up from the description text-size set in style.css. + // It needs to be a bit larger to prevent text from getting cropped on top. + line-height: 0.8em; + } } /** === Classic Editor === */