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

cc-popover: add --cc-popover-padding css prop #1208

Open
pdesoyres-cc opened this issue Oct 18, 2024 · 0 comments
Open

cc-popover: add --cc-popover-padding css prop #1208

pdesoyres-cc opened this issue Oct 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@pdesoyres-cc
Copy link
Contributor

pdesoyres-cc commented Oct 18, 2024

This property controls the padding to be set on the floating area. By default this padding is set to 0.5em, but in some case, we may want to control the padding css property.

This modification is motivated by the issue #1205 where we want to use the cc-popover to mimic a kind of menu. In this situation, the default padding of 0.5em doesn't fit well.

When there is no padding, we may have issue with overflow and rounded corners, so it is necessary to put the overflow css property to hidden.

@pdesoyres-cc pdesoyres-cc added the enhancement New feature or request label Oct 18, 2024
@pdesoyres-cc pdesoyres-cc self-assigned this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant