From fc073b6422910d202dd061db54141f6b8295c36b Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Tue, 20 Dec 2022 17:51:53 -0800 Subject: [PATCH] set legend height to 0 --- css/form.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/css/form.css b/css/form.css index 10de6c9..93f2b95 100644 --- a/css/form.css +++ b/css/form.css @@ -33,4 +33,10 @@ button { display: grid; grid-template-columns: auto auto; column-gap: 10px; +} + +legend { + top: -0.6em; + position: relative; + height: 0; } \ No newline at end of file