block editor – Custom style css doesn’t work in Gutenberg preview
I added custom CSS file to WordPress blocks with
add_editor_style( '/css/posts.css' );. The problem is this style doesn’t work for mobile and tablet preview in Gutenberg Editor. Because Im using Kadence Blocks plugin, I’ve tried to add additional CSS selector with
body.kadence-preview-width-mobile class but it’s doesn’t work. So what should I do to makes Gutenberg mobile preview works with custom CSS styles?