Skip to content

padding is not an option #752

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

Closed
ItsTarik opened this issue Mar 29, 2022 · 5 comments
Closed

padding is not an option #752

ItsTarik opened this issue Mar 29, 2022 · 5 comments

Comments

@ItsTarik
Copy link

Hello and thanks for the effort, i don't know why the docs mentions a padding prop perhaps its not proposed as an option in the component ? I'm trying to customize the padding of the rendered popup ?

@dannya
Copy link

dannya commented Mar 31, 2022

Having the same issue, padding is ignored by the component:

<ReactTooltip padding="12px 20px" />

@jafin
Copy link
Contributor

jafin commented Apr 3, 2022

@ItsTarik, padding is not in the current published version looking at the commit date. If you compile the code you'll get the padding prop.

@ItsTarik
Copy link
Author

ItsTarik commented Apr 3, 2022

Thanks, I've handled it with global style, it's not worth it to compile it locally, I've opened this issue because the docs describes the padding prop and it could be so confusing for people ..

@danielbarion
Copy link
Member

The padding attributes were added to react-tooltip-d.ts: #818

Can you guys check the latest published version and let us know, please?

Thanks!

@danielbarion
Copy link
Member

Closing this one, if you guys need, open a new issue, thanks!

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

No branches or pull requests

4 participants