mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 00:36:34 +00:00
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;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([narrow]) ha-card {
|
@media all and (max-width: 600px) {
|
||||||
border-radius: 0;
|
ha-card {
|
||||||
box-shadow: unset;
|
border-width: 1px 0;
|
||||||
}
|
border-radius: 0;
|
||||||
|
box-shadow: unset;
|
||||||
:host([narrow]) ha-config-section {
|
}
|
||||||
margin-top: -42px;
|
ha-config-section {
|
||||||
|
margin-top: -42px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ha-navigation-list {
|
ha-navigation-list {
|
||||||
|
@ -277,13 +277,16 @@ class HaConfigDashboard extends LitElement {
|
|||||||
padding: 16px;
|
padding: 16px;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
:host([narrow]) ha-card {
|
|
||||||
border-radius: 0;
|
|
||||||
box-shadow: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
:host([narrow]) ha-config-section {
|
@media all and (max-width: 600px) {
|
||||||
margin-top: -42px;
|
ha-card {
|
||||||
|
border-width: 1px 0;
|
||||||
|
border-radius: 0;
|
||||||
|
box-shadow: unset;
|
||||||
|
}
|
||||||
|
ha-config-section {
|
||||||
|
margin-top: -42px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ha-tip {
|
ha-tip {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user