From 87eee23b9623f77bdedab43d4850f7a972bbf972 Mon Sep 17 00:00:00 2001 From: "Jarlem Red J. de Peralta" Date: Mon, 16 Jan 2023 22:32:55 +0800 Subject: [PATCH] feat(ui): flex the whole `` container --- src/style.scss | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/style.scss b/src/style.scss index 03cae95..dfdb1a3 100644 --- a/src/style.scss +++ b/src/style.scss @@ -2,6 +2,31 @@ @tailwind components; @tailwind utilities; +body { + @apply flex; + + #app { + @apply flex-1; + max-width: 768px; + } + + #history-container-shown-by-default { + display: none; + } + + @screen md { + #app { + max-width: 640px; + } + + #history-container-shown-by-default { + display: block; + } + + } +} + + button:not(.no-border) { @apply m-[1px] px-2 py-1; @apply border border-neutral-800 rounded-md;