Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/AudioFeedbackToggleSwitch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

.AudioFeedbackToggleSwitch {
background-color: #B9BEC6;
max-height: 2.6rem;
width: 4.5rem;

&:focus {
Expand All @@ -11,8 +10,6 @@

.ToggleSwitch__switch-inner-circle {
background-color: white;
margin-bottom: 0.2rem;
margin-top: 0;

svg {
path {
Expand Down
4 changes: 1 addition & 3 deletions src/ToggleSwitch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.ToggleSwitch {
width: 4.3rem;
max-height: 2.5rem;
max-height: 2.6rem;
background: #c4c4c4;
border-radius: 1.2rem;
padding: 0.3rem;
Expand All @@ -26,8 +26,6 @@
background: #F1F1F1;
border-radius: 50%;
display: inline-block;
margin-bottom: 0.1rem;
Copy link
Contributor

@chosww chosww Jun 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently this margin has no effect at all -- I changed it to 100rem and still look the same, which means that we can get rid of margin-top on the next line as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cleaned this up and a similar one in the Audio Feedback toggle. I checked the expand add node as well.

margin-top: -0.05rem;
padding: 0.2rem;
}

Expand Down