summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-02-17 18:21:25 +0000
committerAndrej Mihajlov <and@codeispoetry.ru>2017-02-17 18:21:25 +0000
commitbc6a48d227dc75e04c13f248dd8a12eac3e37fb7 (patch)
treeccf00da9fd52274f80b17bda04b625520f7cc54a
parenta19608c59d1639c6dac4bd7a2f3a06a8ee4d67a3 (diff)
downloadmullvadvpn-bc6a48d227dc75e04c13f248dd8a12eac3e37fb7.tar.xz
mullvadvpn-bc6a48d227dc75e04c13f248dd8a12eac3e37fb7.zip
Update switch dimensions to 52x32
-rw-r--r--app/components/Switch.css12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/components/Switch.css b/app/components/Switch.css
index ba3334075b..aaa3821c34 100644
--- a/app/components/Switch.css
+++ b/app/components/Switch.css
@@ -3,8 +3,8 @@
position: relative;
-webkit-appearance: none;
border-radius: 16px;
- width: 50px;
- height: 30px;
+ width: 52px;
+ height: 32px;
border: 2px solid white;
background-color: transparent;
transition: 300ms ease-in-out all;
@@ -16,8 +16,8 @@
.switch::after {
position: absolute;
- left: 1px;
- top: 1px;
+ left: 2px;
+ top: 2px;
display: block;
content: '';
width: 24px;
@@ -34,11 +34,11 @@
.switch:active:checked::after {
transform: translate3d(0, 0, 0);
- left: 17px;
+ left: 18px;
}
.switch:checked::after {
background-color: #44AD4D;
transform: translate3d(0, 0, 0);
- left: 21px;
+ left: 22px;
} \ No newline at end of file