From afd7ae37fe6d293030e3532e93cbbb05ed059f02 Mon Sep 17 00:00:00 2001 From: BurnyLlama Date: Sun, 7 Nov 2021 12:01:38 +0100 Subject: [PATCH] Fixed search bar size on landing... --- src/sass/landing.scss | 4 ++++ static/css/landing.css | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sass/landing.scss b/src/sass/landing.scss index 3769760..46f71b7 100644 --- a/src/sass/landing.scss +++ b/src/sass/landing.scss @@ -14,4 +14,8 @@ header, h1 { h1 { color: palette.$text; +} + +input { + width: min(75ch, 80vw); } \ No newline at end of file diff --git a/static/css/landing.css b/static/css/landing.css index c7ba54d..26a9fc2 100644 --- a/static/css/landing.css +++ b/static/css/landing.css @@ -1 +1 @@ -main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20vh 2rem}header,h1{text-align:center}h1{color:#e0e0ff} +main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20vh 2rem}header,h1{text-align:center}h1{color:#e0e0ff}input{width:min(75ch,80vw)}