From 5c335595e9f04e050ec2c18d56fd0c7710fc0d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s?= Date: Tue, 22 Dec 2020 18:28:11 +0100 Subject: [PATCH] Remove font size value in code block --- packages/block-library/src/code/style.scss | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/block-library/src/code/style.scss b/packages/block-library/src/code/style.scss index f40e238f6b21bd..35cab12be3c1eb 100644 --- a/packages/block-library/src/code/style.scss +++ b/packages/block-library/src/code/style.scss @@ -1,10 +1,6 @@ // Provide a minimum of overflow handling. -.wp-block-code { - font-size: 0.9em; - - code { - display: block; - white-space: pre-wrap; - overflow-wrap: break-word; - } +.wp-block-code code { + display: block; + white-space: pre-wrap; + overflow-wrap: break-word; }