Parcourir la source

fix color toggle position on mobile

Aneurin Barker Snook il y a 11 mois
Parent
commit
53e67bf4bf
1 fichiers modifiés avec 7 ajouts et 2 suppressions
  1. 7 2
      src/style.scss

+ 7 - 2
src/style.scss

@@ -239,8 +239,13 @@ main {
 
 #color {
   position: absolute;
-  right: 2rem;
-  top: 2rem;
+  right: 1rem;
+  top: 1rem;
+
+  @media (min-width: $bp-tablet) {
+    right: 2rem;
+    top: 2rem;
+  }
 
   button {
     background: none;