Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
Keneficka opened this issue Feb 14, 2025 · 0 comments

Comments

@Keneficka
Copy link

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

@Keneficka Keneficka changed the title [BUG] <description> [BUG] Can't override the default style paddingBottom on the editor itself with the style prop. Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant