You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a paragraph item is unpublished, the surrounding field item is empty but still rendered. This leads to styling issues with unpublished paragraph items on one of my sites, because field items are styled to have padding and a background color. With the following example, a paragraph takes some space, even if unpublished:
I guess, instead of the field-item, I could style the paragraphs-item inside of the field item. I'm however curious if it's possible to add a unpublished class to field items, to allow more flexibility.
The text was updated successfully, but these errors were encountered:
When a paragraph item is unpublished, the surrounding field item is empty but still rendered. This leads to styling issues with unpublished paragraph items on one of my sites, because field items are styled to have padding and a background color. With the following example, a paragraph takes some space, even if unpublished:
I guess, instead of the
field-item
, I could style theparagraphs-item
inside of the field item. I'm however curious if it's possible to add aunpublished
class to field items, to allow more flexibility.The text was updated successfully, but these errors were encountered: