Skip to content

Commit 61bc233

Browse files
authored
Merge pull request #382 from lklynet/feature/resize-controls
Resize comically large toggle and power switch controls
2 parents 5969ab7 + 04d5b77 commit 61bc233

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

frontend/src/components/PillToggle.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
--track-off: #313033;
55
--thumb-off: #aeaaae;
66
--focus-ring: rgba(132, 218, 137, 0.42);
7-
--w: 62.9px;
7+
--w: 47.2px;
88
--h: calc(var(--w) * 0.4865);
99
--thumb-size: calc(var(--w) * 0.3784);
1010
--thumb-offset: calc(var(--w) * 0.0541);

frontend/src/components/PowerSwitch.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.power-switch {
22
--color-invert: #ffffff;
3-
--width: 120px;
4-
--height: 120px;
3+
--width: 90px;
4+
--height: 90px;
55
position: relative;
66
display: flex;
77
justify-content: center;
@@ -11,8 +11,8 @@
1111
}
1212

1313
.flow-page .power-switch {
14-
--width: 44px;
15-
--height: 44px;
14+
--width: 33px;
15+
--height: 33px;
1616
}
1717

1818
.power-switch .button {

0 commit comments

Comments
 (0)