Explorar el Código

fix color toggle position on mobile

Aneurin Barker Snook hace 11 meses
padre
commit
53e67bf4bf
Se han modificado 1 ficheros con 7 adiciones y 2 borrados
  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;