Remove header container of plugin modals if empty

Hello!

I am trying to create a plugin that uses modals from the Plugin SDK.

Is is possible to completely hide the header container at the top of the modal if there is no title and closeDisabled is true when passed to the openModal hook? Currently, it just leaves a giant, empty white space at the top which doesn’t look that nice.

Thanks!

Hi @nickk,

This should be fixed now! If a modal:

  • Has no title
  • AND closeDisabled is true

Then it shouldn’t have a header at all.

1 Like

Amazing, thank you! It looks so much better :slight_smile:

1 Like