From 7bdcddafe8141219bbaf498a7bc8adc0bceddbc1 Mon Sep 17 00:00:00 2001 From: Maud Leray Date: Wed, 18 Dec 2024 15:05:56 +0100 Subject: [PATCH] PLANET-7635 Move remaining code from plugin This is in preparation to finally retire it --- assets/src/scss/blocks.scss | 1 + assets/src/scss/blocks/core-overrides/File.scss | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 assets/src/scss/blocks/core-overrides/File.scss diff --git a/assets/src/scss/blocks.scss b/assets/src/scss/blocks.scss index 404dd70073..c813c161c9 100644 --- a/assets/src/scss/blocks.scss +++ b/assets/src/scss/blocks.scss @@ -29,6 +29,7 @@ @import "blocks/core-overrides/Columns"; @import "blocks/core-overrides/Heading"; @import "blocks/core-overrides/Embed"; +@import "blocks/core-overrides/File"; // Other @import "blocks/WideBlocks"; diff --git a/assets/src/scss/blocks/core-overrides/File.scss b/assets/src/scss/blocks/core-overrides/File.scss new file mode 100644 index 0000000000..165644cfc5 --- /dev/null +++ b/assets/src/scss/blocks/core-overrides/File.scss @@ -0,0 +1,6 @@ +.wp-block-file .wp-block-file__button { + overflow: unset; + padding: 0 1em; + margin-inline-start: 1em; + font-size: .8em; +}