Use normal card color in narrow config screen too (#10843)

This commit is contained in:
Bram Kragten 2021-12-09 22:37:45 +01:00 committed by GitHub
parent add8a702cc
commit ead5e288eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ class HaConfigDashboard extends LitElement {
border-bottom: var(--app-header-border-bottom);
--header-height: 55px;
}
ha-card:last-child {
:host(:not([narrow])) ha-card:last-child {
margin-bottom: 24px;
}
ha-config-section {
@ -152,7 +152,7 @@ class HaConfigDashboard extends LitElement {
padding-bottom: 0;
}
:host([narrow]) ha-card {
background-color: var(--primary-background-color);
border-radius: 0;
box-shadow: unset;
}