mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-07 16:37:48 +00:00
Fix padding from left edge to list item graphic
This commit is contained in:
parent
12aab855d7
commit
4a38f7a9e0
@ -958,8 +958,12 @@ class HaSidebar extends LitElement {
|
||||
position: relative;
|
||||
outline: 0;
|
||||
}
|
||||
ha-clickable-list-item {
|
||||
--mdc-list-side-padding: 20px;
|
||||
}
|
||||
|
||||
mwc-list-item {
|
||||
--mdc-list-side-padding: 20px;
|
||||
box-sizing: border-box;
|
||||
margin: 4px;
|
||||
border-radius: 4px;
|
||||
@ -1065,8 +1069,8 @@ class HaSidebar extends LitElement {
|
||||
.profile {
|
||||
margin-left: env(safe-area-inset-left);
|
||||
--mdc-list-item-graphic-size: 40px;
|
||||
--mdc-list-item-graphic-margin: 15px;
|
||||
--mdc-list-side-padding: 9px;
|
||||
--mdc-list-item-graphic-margin: 16px;
|
||||
--mdc-list-side-padding: 12px;
|
||||
}
|
||||
:host([rtl]) .profile {
|
||||
margin-left: initial;
|
||||
|
Loading…
x
Reference in New Issue
Block a user