Cannot style the wrapper div

This issue has been tracked since 2022-05-18.

Because the stylable div (which is stylable from outside-in, based on the style prop) is wrapped by another div whose style is hard-coded (only minHeight being customisable), I can't seem to find a way to make the editor appear in full width.

<div
  style={{
    flex: 1,
    display: 'flex',
    minHeight: minHeight,
   // I would like a "width: '100%'" here 
  }}
>
    <div id={this.editorId} style={{ ...style, flex: 1 }} />
</div>

source: https://github.com/unlayer/react-email-editor/blob/master/src/index.js#L24-L32

Is there a reason why the style of the outer div should not be fully configurable? If so, is there any other way that I could accomplish the same result (full-width editor)?

More Details About Repo
Owner Name unlayer
Repo Name react-email-editor
Full Name unlayer/react-email-editor
Language JavaScript
Created Date 2017-10-01
Updated Date 2022-12-05
Star Count 3598
Watcher Count 48
Fork Count 627
Issue Count 163

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date