File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ export class HaAutomationRow extends LitElement {
118118 }
119119 .row {
120120 display : flex;
121- padding: 0 8px ;
121+ padding: var( --ha-space-0 ) var ( - - ha - space-2) ;
122122 min- height: 48px;
123123 align- items: center;
124124 cursor : pointer;
@@ -134,12 +134,12 @@ export class HaAutomationRow extends LitElement {
134134 .expand-button {
135135 transition : transform 150ms cubic-bezier (0.4 , 0 , 0.2 , 1 );
136136 color : var (--ha-color-on-neutral-quiet );
137- margin-left : -8 px ;
137+ margin-left : calc ( var ( --ha-space-2 ) * -1 ) ;
138138 }
139139 : host ([building-block ]) .leading-icon-wrapper {
140140 background-color : var (--ha-color-fill-neutral-loud-resting );
141141 border-radius : var (--ha-border-radius-md );
142- padding : 4 px ;
142+ padding : var ( --ha-space-1 ) ;
143143 display : flex;
144144 justify-content : center;
145145 align-items : center;
@@ -149,7 +149,7 @@ export class HaAutomationRow extends LitElement {
149149 color : var (--ha-color-on-neutral-quiet );
150150 }
151151 : host ([building-block ]) ::slotted ([slot = "leading-icon" ]) {
152- --mdc-icon-size : 20 px ;
152+ --mdc-icon-size : var ( --ha-space-5 ) ;
153153 color : var (--white-color );
154154 transform : rotate (-45deg );
155155 }
@@ -170,7 +170,7 @@ export class HaAutomationRow extends LitElement {
170170 ::slotted ([slot = "header" ]) {
171171 flex : 1 ;
172172 overflow-wrap : anywhere;
173- margin : 0 12 px ;
173+ margin : var ( --ha-space-0 ) var ( --ha-space-3 ) ;
174174 }
175175 : host ([sort-selected ]) .row {
176176 outline : solid;
You can’t perform that action at this time.
0 commit comments