mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Add bottom padding to config links list with safe-area-inset-bottom (#11704)
This commit is contained in:
parent
53607fe8c6
commit
3a664d45a9
@ -192,8 +192,11 @@ class HaConfigDashboard extends LitElement {
|
|||||||
return [
|
return [
|
||||||
haStyle,
|
haStyle,
|
||||||
css`
|
css`
|
||||||
|
ha-card:last-child {
|
||||||
|
margin-bottom: env(safe-area-inset-bottom);
|
||||||
|
}
|
||||||
:host(:not([narrow])) ha-card:last-child {
|
:host(:not([narrow])) ha-card:last-child {
|
||||||
margin-bottom: 24px;
|
margin-bottom: max(24px, env(safe-area-inset-bottom));
|
||||||
}
|
}
|
||||||
ha-config-section {
|
ha-config-section {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user