ui5-panel has more empty spaces between header and content.
Describe the bug ui5-panel has more empty spaces between header and content.
To reproduce Steps to reproduce the behavior:
- Go to the sandbox link provided.
- I have rendered multiple ui5-panel elements with different combinations. You can see there is lot of spacing between the header and content.
Isolated example https://codesandbox.io/s/ui5-webcomponents-forked-cyjvf?file=/index.html
Expected behavior The more spacing between the header and content should be reduced.
Screenshots

Context
- UI5 Web Components version
- OS/Platform: Windows
- Browser (if relevant): Chrome
- Other information: Version 90.0.4430.93
Affected components (if known)
Log output / Any errors in the console
{...}
Organization: (if applicable)
Priority: (optional) (Low, Medium, High or Very High)
Setting priority would indicate the importance of the issue and would help the process of dispatching and processing.
To set the appropriate priority, you need to consider the impact and if the issue:
- Breaks entire application or system - High and Very High
- Is accessibility one (Screan Reader, Keyboard Handling) - Medium and High
- Is functional one and makes a single component unusable - Medium and High
- Is visual, styling one - Low and Medium
Note: the priority would be re-evaluated by the issue processors, according to the project internal criterias
Business impact: (mandatory for "Very High")
Hi @SriramParamasivam
The padding is defined by UI5 Web Components by default and it cannot be changed. However, we will expose a CSS part, so that you can customize the padding.
@fifoosid , Thank you so much for quick solution. When this will be available? Is the document also updated for the same like how to consume?
Thanks, Sriram Paramasivam