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

Missing top border in Panel when header is not shown #128

Open
pip25 opened this issue May 3, 2024 · 1 comment
Open

Missing top border in Panel when header is not shown #128

pip25 opened this issue May 3, 2024 · 1 comment

Comments

@pip25
Copy link

pip25 commented May 3, 2024

It was originally reported here: primefaces/primeng#8987
The issue still persists, and is caused by the _panel.scss rules in the base theme.

pip25 pushed a commit to pip25/primeng-sass-theme that referenced this issue May 3, 2024
When no header is shown, .p-panel.content becomes the first child of its
parent. We can use this property to render a proper border with the
appropriate border radius.
pip25 pushed a commit to pip25/primeng-sass-theme that referenced this issue May 3, 2024
When no header is shown, .p-panel.content becomes the first child of its
parent. We can use this property to render a proper border with the
appropriate border radius.
@pip25
Copy link
Author

pip25 commented May 3, 2024

Here's a screenshot using a slightly modified StackBlitz example from the official site that illustrates the issue:
panelbug

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