Inconsistent spacing controls
-
I don’t know how best to explain this, but hopefully this makes sense!
I am struggling to understand how the ‘spacing’ works in terms of adjusting padding and margins. I understand the theme is responsive and certain elements differ depending on the screen size, but the jumps between desktop and mobile are sometimes odd.
Example: https://envious-eel-64a7g.instawp.xyz/this-is-a-test-post/
This is a brand new WordPress install with Twenty Twenty-Four. Nothing changed, altered or amended etc.
Go to the bottom of the post where the tags are. By default, the tags are at the top of a Group block. This Group block has a predefined margin-top set to 4 (out of 6 on the spacing controls scale).
On desktop, this is 64px.
On mobile, the margin is just 18.76px.That is a pretty big difference and isn’t in proportion to other elements on the page, like the post content? The margin should be larger than that on mobile?
What’s weirder still is that, if you adjust the margin-top using the scale then it goes:
1 — 16px
2 — 7.504px (?!!)
3 — 11.256pxWhy would 1, at the smaller end of the scale, be larger than 2 and 3?
This is just one example. But similarly, if you make a Group block, add substantial padding to it, then it looks huge on desktop, but teeny-tiny on mobile.
Basically, this makes it difficult to know how things will appear and there doesn’t seem to be any continuity or relation to other elements (like post content) when it comes to resizing? I know I can manually set a custom size (in px, rem etc.) when spacing each block, but that’s a bit of a chore!
Hope I made some sense…
- The topic ‘Inconsistent spacing controls’ is closed to new replies.