Recent Posts block is missing CSS when inside a Container block
-
Hi, first of all I would like to say thanks for making such an awesome plugin, keep it up!
A client of mine updated the plugin to the latest version and noticed that the Recent Posts block would not display in 3 columns as it should, instead it shows each post alone in a row. On further investigation I found that if the Recent Posts block is inside a Container block then the CSS for it does not get included. If the Recent Posts block is in the “root” of the Gutenberg editor then the CSS gets included and also applies to any other Recent Posts block – even inside a Container block.
My question is: was this an intended behaviour change? Or could you look into it and let me know if I’m misunderstanding something about this block?
I don’t have a page to show you, but it should be easy to reproduce:
– on a page just add a Container and inside it a Recent Posts block -> no columns displayed, each post appears on 1 row;
– on same page add a Recent Posts not enclosed in anything -> columns display properly.Thank you very much for your help!
- The topic ‘Recent Posts block is missing CSS when inside a Container block’ is closed to new replies.