Use media query for config menu mobile (#12510)
This commit is contained in:
parent
e16a61eb53
commit
bf8affaf2b
|
@ -126,13 +126,15 @@ class HaConfigSystemNavigation extends LitElement {
|
|||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
:host([narrow]) ha-card {
|
||||
border-radius: 0;
|
||||
box-shadow: unset;
|
||||
}
|
||||
|
||||
:host([narrow]) ha-config-section {
|
||||
margin-top: -42px;
|
||||
@media all and (max-width: 600px) {
|
||||
ha-card {
|
||||
border-width: 1px 0;
|
||||
border-radius: 0;
|
||||
box-shadow: unset;
|
||||
}
|
||||
ha-config-section {
|
||||
margin-top: -42px;
|
||||
}
|
||||
}
|
||||
|
||||
ha-navigation-list {
|
||||
|
|
|
@ -277,13 +277,16 @@ class HaConfigDashboard extends LitElement {
|
|||
padding: 16px;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
:host([narrow]) ha-card {
|
||||
border-radius: 0;
|
||||
box-shadow: unset;
|
||||
}
|
||||
|
||||
:host([narrow]) ha-config-section {
|
||||
margin-top: -42px;
|
||||
@media all and (max-width: 600px) {
|
||||
ha-card {
|
||||
border-width: 1px 0;
|
||||
border-radius: 0;
|
||||
box-shadow: unset;
|
||||
}
|
||||
ha-config-section {
|
||||
margin-top: -42px;
|
||||
}
|
||||
}
|
||||
|
||||
ha-tip {
|
||||
|
|
Loading…
Reference in New Issue