WordPress/wp-content/themes/twentytwentyone/assets/sass/05-blocks
Sergey Biryukov 25e697c948 Twenty Twenty-One: Remove spacer block styles.
The theme includes styles for the spacer block for the front which appears to be unnecessary:
* It adds `display: block` even though that is the default.
* It removes top and bottom margin, even though this is not needed in the post content because of collapsing margins between blocks.
* It uses a custom CSS property to force a specific height on mobile. This affects the patterns in the theme negatively.

It also causes styling problems:
* When the spacer block has a height set to `0` in the navigation block, as the theme forces this to be larger on smaller screens.
* When the block is horizontal. Horizontal was not an option when this style was added.

Consequences of removal:
* Removing the use of the custom CSS property will cause a style change for websites that have adjusted the spacing property.

Follow-up to [49216], [49574].

Props poena, mukesh27.
Fixes #56222.
Built from https://develop.svn.wordpress.org/trunk@54103


git-svn-id: http://core.svn.wordpress.org/trunk@53662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-09-08 15:48:08 +00:00
..
audio
button Twenty Twenty-One: Allow editor styles to control block margins. 2022-02-14 21:55:08 +00:00
code Twenty Twenty-One: Support font size option for code block. 2021-02-09 03:24:05 +00:00
columns Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
cover Twenty Twenty-One: Correct inner container background color for Cover Blocks. 2021-03-01 23:26:04 +00:00
file Twenty Twenty-One: Update devDependencies. 2021-05-24 15:37:55 +00:00
gallery
group Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
heading Twenty Twenty-One: Use correct value for the global line-height CSS variable. 2021-02-09 17:10:05 +00:00
html
image Twenty Twenty One: Remove Image block placeholder alignment override in editor styles. 2021-11-25 22:31:04 +00:00
latest-comments
latest-posts Bundled Themes: Improve display of blocks in widget areas. 2021-06-22 20:14:59 +00:00
legacy
list Twenty Twenty-One: Update devDependencies. 2021-05-24 15:37:55 +00:00
media-text Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
navigation
paragraph Twenty Twenty-One: Use correct value for the global line-height CSS variable. 2021-02-09 17:10:05 +00:00
preformatted
pullquote Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
query-loop Twenty Twenty-One: Add spacing around Query block when there is a background color. 2021-06-25 01:48:57 +00:00
quote Twenty Twenty-One: Ensure custom text color is reflected in the Editor for Quote block. 2022-06-16 23:43:09 +00:00
rss
search Twenty Twenty-One: Update editor styles of search block. 2021-02-09 03:55:05 +00:00
separator Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
social-icons Twenty Twenty-One: Remove background color from Social Links the dark gray style. 2021-02-16 20:12:02 +00:00
table Twenty Twenty-One: Improve striped table styling in Dark Mode. 2020-12-22 15:02:05 +00:00
tag-clould
utilities Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
verse
video
_config.scss
blocks-editor.scss Twenty Twenty-One: Add spacing around Query block when there is a background color. 2021-06-25 01:48:57 +00:00
blocks.scss Twenty Twenty-One: Remove spacer block styles. 2022-09-08 15:48:08 +00:00