From 73795b3755199ebf7297a5a1c79b54e2e06d7a8a Mon Sep 17 00:00:00 2001 From: Alexander Arav Andreev Date: Wed, 10 Feb 2021 03:21:42 +0400 Subject: [PATCH] Added @media query for services section so it'll arrange links vertically on small screen. --- static/dwelling/assets/css/index.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/dwelling/assets/css/index.css b/static/dwelling/assets/css/index.css index 9652d6e..0820a36 100644 --- a/static/dwelling/assets/css/index.css +++ b/static/dwelling/assets/css/index.css @@ -14,4 +14,8 @@ nav, #services a, #services span { margin: .3rem; } -#services span a { margin: 0; } \ No newline at end of file +#services span a { margin: 0; } + +@media screen and (max-width: 640px) { + #services { display: flex; flex-direction: column; } +} \ No newline at end of file