From 11fb8f6bb225e3a911a869a50435331b12767ed1 Mon Sep 17 00:00:00 2001 From: Ulung32 <13521122@mahasiswa.itb.ac.id> Date: Mon, 9 Oct 2023 13:55:21 +0700 Subject: [PATCH] add responsive search bar --- src/App/public/styles/home/Home.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/App/public/styles/home/Home.css b/src/App/public/styles/home/Home.css index 342587e..923909d 100644 --- a/src/App/public/styles/home/Home.css +++ b/src/App/public/styles/home/Home.css @@ -4,7 +4,18 @@ margin-left: 20px; /* Center the form */ margin-top: 10px; } - + +@media screen and (max-width: 768px) { + #form { + flex-direction: column; + } + + label, select, input { + width: 100%; + margin-right: 0; + } +} + label { font-weight: bold; white-space: nowrap; -- GitLab