Are you wrapping the CSS selectors into .editor-styles-wrapper
class yourself, or was this added by Gutenberg CSS post-processing?
Manually adding this wrapper CSS class can cause issues, as Gutenberg uses different style isolation methods, depending on editor mode, see this post
1 Like