Skip to content

Commit d6b7ddb

Browse files
author
Patricio Albizu
committed
fix: toggleButtonRestyling
1 parent ca1592d commit d6b7ddb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

projects/components/src/toggle-switch/toggle-switch.component.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
.mat-checked {
1212
.mat-slide-toggle-thumb-container {
13-
transform: translate3d(10px, 0, 0) !important;
13+
transform: translate3d(7px, 0, 0) !important;
1414
margin-left: 1px;
1515
}
1616

@@ -29,8 +29,8 @@
2929
height: 12px;
3030

3131
.mat-slide-toggle-ripple {
32-
top: calc(50% - 10px);
33-
left: calc(50% - 10px);
32+
top: calc(50% - 7px);
33+
left: calc(50% - 7px);
3434
height: 20px;
3535
width: 20px;
3636
}
@@ -44,7 +44,7 @@
4444

4545
.mat-slide-toggle-bar {
4646
background-color: $gray-5;
47-
width: 20px;
47+
width: 18px;
4848
height: 6px;
4949
}
5050
}

0 commit comments

Comments
 (0)