]> git.0d.be Git - panikweb-studioneau.git/commitdiff
adjust layout of newsletter form on mobile
authorFrédéric Péters <fpeters@0d.be>
Thu, 24 Feb 2022 19:12:32 +0000 (20:12 +0100)
committerFrédéric Péters <fpeters@0d.be>
Thu, 24 Feb 2022 19:12:59 +0000 (20:12 +0100)
panikweb_studioneau/static/css/style.scss

index baf27c10ea78136db65fa9fc23ee6c4a3420bf85..86e60a521cc568274569901084e5278591f7dd0d 100644 (file)
@@ -1076,6 +1076,14 @@ a.back {
                        border-color: red;
                }
        }
+       @media screen and (max-width: 600px) {
+               flex-direction: column;
+               input {
+                       width: calc(100% - 0.5rem);
+                       margin: 0;
+                       margin-bottom: 10px;
+               }
+       }
 }
 
 /* disable tags for now, add fake <div> for layout purpose */