Skip to content

Commit

Permalink
Reduce right margin on toggles on mobile viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Aug 6, 2020
1 parent b70e2f7 commit 887ace7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions assets/src/components/amp-setting-toggle/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
}

.amp .amp-setting-toggle .components-form-toggle {
margin-right: 2.25rem;
}
margin-right: 0.75rem;

@media (min-width: 783px) {
margin-right: 2.25rem;
}
}

.amp-setting-toggle--disabled .components-form-toggle__input {
pointer-events: none;
Expand Down

0 comments on commit 887ace7

Please sign in to comment.