Add bottom padding to config links list with safe-area-inset-bottom (#11704)

This commit is contained in:
Josh McCarty 2022-02-16 21:07:45 -07:00 committed by GitHub
parent 53607fe8c6
commit 3a664d45a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,8 +192,11 @@ class HaConfigDashboard extends LitElement {
return [
haStyle,
css`
ha-card:last-child {
margin-bottom: env(safe-area-inset-bottom);
}
:host(:not([narrow])) ha-card:last-child {
margin-bottom: 24px;
margin-bottom: max(24px, env(safe-area-inset-bottom));
}
ha-config-section {
margin: auto;