Fix some styling of ha-switch (#3842)

If content is slotted it will get some margin to the toggle like the old switch.
This commit is contained in:
Bram Kragten
2019-10-01 20:17:10 +02:00
committed by Paulus Schoutsen
parent 3cf4b890b6
commit ea50d486da
6 changed files with 20 additions and 10 deletions

View File

@@ -153,7 +153,6 @@ class HaEntityToggle extends LitElement {
}
ha-switch {
padding: 13px 5px;
margin: -4px -5px;
}
`;
}