From 2d16cd68abf81c0fffc503230dbdbf5b17e0043c Mon Sep 17 00:00:00 2001 From: Paul McAvoy Date: Sat, 4 Oct 2014 00:34:40 +0100 Subject: [PATCH] contact form: full width input and button for small screen size --- assets/css/3-sections/_form.sass | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/assets/css/3-sections/_form.sass b/assets/css/3-sections/_form.sass index a942dc56..0ee17e49 100644 --- a/assets/css/3-sections/_form.sass +++ b/assets/css/3-sections/_form.sass @@ -56,4 +56,20 @@ form margin-bottom: 20px span - display: block \ No newline at end of file + display: block + +@media (max-width: 541px) + form + .contact-info-group + + label + width: 100% + + &:nth-child(1) + padding: 0 + + &:nth-child(2) + padding: 0 + + [type="submit"] + width: 100%