Update ha-formfield.ts

This commit is contained in:
Yosi Levy 2020-07-06 17:29:18 +03:00 committed by GitHub
parent f6569a2625
commit b609890f28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ export class HaFormfield extends MwcFormfield {
return [ return [
style, style,
css` css`
::slotted(ha-switch) { :host(:not([alignEnd])) ::slotted(ha-switch) {
margin-right: 10px; margin-right: 10px;
} }
:host([dir="rtl"]:not([alignEnd])) ::slotted(ha-switch) { :host([dir="rtl"]:not([alignEnd])) ::slotted(ha-switch) {