Replies: 2 comments
-
|
The spacing around the short code block is entirely dependent on the output of that short code. It would be good to have more information on what HTML the short code is outputting and the CSS causing the gap. Is the issue the front-end, editor, or both? |
Beta Was this translation helpful? Give feedback.
-
|
i fixed it with dev tools, i dont remember exactly how, but chatgpt told me to go to devtools, then i asked gemini in devtools to find the problem with highlighted gap, it was probably something with main json file, global.json or whatever, i went to VScode and asked copilot to fix, i needed to make line-height = 0, because it was the overflow of the container for text (gutenberg was thinking that there could be a text, that needs to have place for the tails of words, like "y" - so it saved a space for that after each block. i fixed it anyway, it deleted all the gaps between blocks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
there's always this tiny gaps, i need to get rid of, because im bulding a square blocked theme.
it is a a small ~5px gap.
I minimized them in design style blocks, but they are still visible.
i used plenty of css modifications, none helped.
tomorrow i will try to review the whole code in VScode and remove the code for gaps.
Beta Was this translation helpful? Give feedback.
All reactions