Skip to content

Commit 0e4cf9f

Browse files
authored
ha-picker-field: change left padding to align with other controls (#28217)
change --md-list-item-leading-space & --md-list-item-trailing-space
1 parent 506635d commit 0e4cf9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ha-picker-field.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ export class HaPickerField extends LitElement {
103103
--md-list-item-two-line-container-height: 56px;
104104
--md-list-item-top-space: 0px;
105105
--md-list-item-bottom-space: 0px;
106-
--md-list-item-leading-space: 8px;
107-
--md-list-item-trailing-space: 8px;
106+
--md-list-item-leading-space: var(--ha-space-4);
107+
--md-list-item-trailing-space: var(--ha-space-2);
108108
--ha-md-list-item-gap: var(--ha-space-2);
109109
/* Remove the default focus ring */
110110
--md-focus-ring-width: 0px;

0 commit comments

Comments
 (0)