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
..
2022-08-23 15:42:33 +00:00
2022-04-12 09:26:16 +00:00
2022-09-08 14:34:11 +00:00
2022-08-23 15:42:33 +00:00
2022-08-23 15:42:33 +00:00
2022-06-01 18:14:10 +00:00
2022-09-06 21:13:12 +00:00
2022-04-06 15:20:06 +00:00
2022-08-22 12:26:12 +00:00
2022-08-30 13:57:15 +00:00
2022-02-16 21:19:04 +00:00
2022-09-06 21:13:12 +00:00
2022-08-05 05:49:11 +00:00
2022-03-24 15:20:08 +00:00
2022-03-22 16:25:03 +00:00
2022-03-22 16:25:03 +00:00
2022-09-02 06:51:13 +00:00
2022-08-13 22:44:09 +00:00
2022-04-21 11:24:17 +00:00
2022-06-14 14:43:12 +00:00
2022-05-20 11:42:19 +00:00
2022-08-25 15:42:10 +00:00
2022-08-23 14:52:12 +00:00
2022-07-20 13:21:08 +00:00
2022-08-13 22:38:09 +00:00
2022-06-23 22:57:12 +00:00
2022-08-30 15:17:08 +00:00
2022-07-23 14:58:12 +00:00
2022-07-23 14:58:12 +00:00
2022-04-01 03:25:01 +00:00
2022-05-23 15:01:12 +00:00
2022-08-19 23:06:09 +00:00
2022-08-04 14:52:11 +00:00
2022-06-17 11:20:13 +00:00
2022-08-31 13:41:08 +00:00
2022-06-17 11:20:13 +00:00
2022-01-30 19:25:03 +00:00
2022-01-30 19:25:03 +00:00
2022-01-30 19:25:03 +00:00
2022-01-30 19:25:03 +00:00
2022-05-01 22:01:10 +00:00
2022-01-30 19:25:03 +00:00
2022-07-06 11:55:11 +00:00
2022-03-17 03:37:05 +00:00
2022-05-17 14:38:14 +00:00
2022-05-23 20:40:14 +00:00
2022-08-13 22:38:09 +00:00
2022-08-11 14:11:08 +00:00
2022-08-11 14:03:09 +00:00
2022-07-26 13:00:16 +00:00
2022-08-04 14:52:11 +00:00
2022-08-11 14:11:08 +00:00
2022-07-25 19:30:09 +00:00
2022-05-02 13:13:08 +00:00
2022-08-11 14:03:09 +00:00
2022-04-24 00:28:08 +00:00
2022-04-25 13:29:09 +00:00
2022-07-30 14:01:13 +00:00
2022-04-28 09:46:21 +00:00
2022-04-26 10:00:09 +00:00
2022-04-28 09:46:21 +00:00
2022-08-28 19:51:09 +00:00
2022-03-20 16:24:03 +00:00
2022-01-18 20:29:06 +00:00
2022-06-06 10:51:12 +00:00
2022-08-04 14:52:11 +00:00
2022-09-07 21:45:14 +00:00
2022-09-07 21:45:14 +00:00
2022-09-07 21:45:14 +00:00
2022-01-30 19:25:03 +00:00
2022-08-11 12:39:12 +00:00
2022-03-18 21:18:03 +00:00
2022-08-17 14:00:13 +00:00
2022-09-06 14:21:10 +00:00
2022-05-15 20:32:08 +00:00
2022-08-03 14:36:12 +00:00
2022-07-21 04:25:13 +00:00
2022-04-29 19:17:11 +00:00
2022-04-13 03:04:10 +00:00
2022-05-21 12:07:13 +00:00
2022-08-25 04:23:13 +00:00
2022-04-29 19:17:11 +00:00
2022-04-04 18:26:06 +00:00
2022-04-29 19:17:11 +00:00
2022-01-30 19:25:03 +00:00
2022-05-23 15:01:12 +00:00
2022-08-29 13:19:12 +00:00
2022-02-04 16:28:00 +00:00
2022-09-06 13:59:13 +00:00
2022-08-18 11:28:12 +00:00
2022-04-13 03:04:10 +00:00
2022-06-14 16:17:08 +00:00
2022-02-04 16:28:00 +00:00
2022-08-11 12:39:12 +00:00
2022-04-28 09:59:13 +00:00
2022-04-28 09:59:13 +00:00
2022-08-23 17:48:15 +00:00
2022-07-05 09:28:13 +00:00
2022-03-07 13:07:03 +00:00
2022-05-01 21:47:10 +00:00
2022-08-11 15:00:08 +00:00
2022-04-20 12:47:11 +00:00
2022-08-22 15:39:13 +00:00
2022-04-26 14:28:08 +00:00
2022-05-08 23:59:11 +00:00
2022-04-26 14:59:08 +00:00
2022-08-12 12:11:09 +00:00
2022-08-26 01:03:14 +00:00
2022-05-08 00:29:14 +00:00
2022-08-11 14:11:08 +00:00
2022-06-17 11:20:13 +00:00
2022-03-18 20:48:02 +00:00
2022-09-07 21:45:14 +00:00
2022-08-11 12:39:12 +00:00
2022-06-17 11:20:13 +00:00
2022-08-19 22:06:09 +00:00
2022-04-29 19:17:11 +00:00
2022-06-20 21:46:16 +00:00
2022-07-25 17:28:09 +00:00
2022-09-07 21:45:14 +00:00
2022-04-04 18:26:06 +00:00
2022-08-18 08:45:12 +00:00
2022-02-17 16:18:03 +00:00
2022-07-23 16:57:09 +00:00
2022-08-11 14:11:08 +00:00
2022-09-08 15:06:09 +00:00
2022-08-11 12:39:12 +00:00
2022-08-19 19:48:15 +00:00
2022-09-06 11:28:13 +00:00
2022-09-02 06:58:09 +00:00
2022-09-07 21:45:14 +00:00
2022-08-11 14:03:09 +00:00
2022-09-06 11:28:13 +00:00
2022-07-14 13:35:13 +00:00
2022-03-29 12:42:13 +00:00
2022-06-02 15:05:13 +00:00
2022-09-06 11:28:13 +00:00
2022-05-13 12:21:13 +00:00
2022-09-06 11:28:13 +00:00
2022-08-26 01:03:14 +00:00
2022-02-07 14:01:05 +00:00
2022-06-15 13:37:10 +00:00
2022-09-06 11:28:13 +00:00
2022-08-16 18:18:14 +00:00
2022-08-01 11:15:14 +00:00
2022-09-05 05:45:14 +00:00
2022-03-15 15:22:05 +00:00
2022-09-06 21:13:12 +00:00
2022-06-21 13:34:13 +00:00
2022-08-11 14:03:09 +00:00
2022-08-11 14:03:09 +00:00
2022-08-07 23:05:10 +00:00
2022-04-06 15:33:03 +00:00
2022-03-22 16:25:03 +00:00
2022-09-06 02:52:11 +00:00
2022-06-28 20:37:15 +00:00
2022-08-26 01:03:14 +00:00
2022-06-23 18:59:09 +00:00
2022-03-31 10:53:04 +00:00
2022-05-02 13:13:08 +00:00
2022-04-11 11:55:00 +00:00
2022-08-05 13:39:11 +00:00
2022-08-23 17:48:15 +00:00
2022-08-11 14:03:09 +00:00
2022-04-27 13:47:11 +00:00
2022-09-08 15:48:08 +00:00
2022-06-01 18:14:10 +00:00
2022-07-21 22:45:11 +00:00