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

[Core] Floating Elements with bottom padding don't show the padding #196

Open
holywyvern opened this issue Jan 14, 2025 · 2 comments
Open
Labels
Attempted Fix A fix has been implemented but not yet confirmed by the issue reporter. bug Something isn't working

Comments

@holywyvern
Copy link

I am using the latest version of clay with the new updated paddings.

Floating elements' padding bottom don't seem to work properly anymore, at least when you are not specifiying a parent id.

Padding bottom seems to be calculated properly on normal elements:

image

However, on floating elements it's non existant:

image

All other 3 paddings seem to be calculated properly on floating elements.

Maybe it's related to both a sizing Y grow (1) and paddingBottom, since that's what I'm doing on the floating container.

@nicbarker
Copy link
Owner

Thank you for this great catch @holywyvern, I'll fix it up right now!

@nicbarker
Copy link
Owner

Let me know if this fixes it for you 🙂
338852b

@nicbarker nicbarker added bug Something isn't working Attempted Fix A fix has been implemented but not yet confirmed by the issue reporter. labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Attempted Fix A fix has been implemented but not yet confirmed by the issue reporter. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants