We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The content of Tabsheet always uses padding without any way to disable it (except providing your own css file).
add a function tabsheet.setPadding(boolean) and maybe setMargin(boolean) similar to ThemableLayout.
Manually inserting a css to adjust the behaviour is cumbersome. Writing your own Tabsheet is simpler than that.
No response
The text was updated successfully, but these errors were encountered:
The workaround is actually very simple. Just add this to you styles.css: vaadin-tabsheet::part(content) { padding: 0; }
vaadin-tabsheet::part(content) { padding: 0; }
However, this should definitely have a dedicated API. Proposal:
no-padding
TabSheetVariant.LUMO_NO_PADDING
setPadding(boolean padding)
Sorry, something went wrong.
FrediWa
Successfully merging a pull request may close this issue.
Describe your motivation
The content of Tabsheet always uses padding without any way to disable it (except providing your own css file).
Describe the solution you'd like
add a function tabsheet.setPadding(boolean) and maybe setMargin(boolean) similar to ThemableLayout.
Describe alternatives you've considered
Manually inserting a css to adjust the behaviour is cumbersome. Writing your own Tabsheet is simpler than that.
Additional context
No response
The text was updated successfully, but these errors were encountered: