Skip to content

[BUG] Can't override the default style paddingBottom on the editor itself with the style prop. #452

Open
@Keneficka

Description

Has this bug been raised before?

  • I have checked "open" AND "closed" issues and this is not a duplicate

Description

Can't override the default style paddingBottom on the editor itself with the style prop.

The default from the readme { width: '400px', paddingBottom: '100px' }

My styles:

<YooptaEditor
   style={{width: '100%', paddingBottom: '0px'}}
/>

The width works but the padding stays 100px. I was able to set it with !important so not urgent.

.yoopta-editor {
  padding-bottom: 0 !important;
}

And by the way awesome editor thanks!

Screenshots

No response

Do you want to work on this issue?

No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions