web-components icon indicating copy to clipboard operation
web-components copied to clipboard

[login-form] Footer reserves space even if not used

Open jouni opened this issue 2 months ago • 1 comments

Description

The footer part is always rendered, even when not used (no footer content, no i18n.additionalInformation). This adds extra white space after the form content, because of the gap in base styles.

Image

Expected outcome

No extra gap rendered after the last visible form element.

Minimal reproducible example

<vaadin-login-form></vaadin-login-form>

Steps to reproduce

Environment

Browsers

No response

jouni avatar Sep 30 '25 07:09 jouni

We could probably add has-footer attribute set based on the presence of the content to make styling easier.

web-padawan avatar Oct 01 '25 07:10 web-padawan