From b432769d6f85bfc17effb8ba5087e7ac555d1a17 Mon Sep 17 00:00:00 2001 From: Balakrishnan Balasubramanian Date: Fri, 9 Aug 2024 23:22:51 -0400 Subject: [PATCH] Improve fontend 1. Move button above templates 2. Add 3 more templates 3. change px to rem --- web/index.css | 15 +++++++++++++-- web/index.html | 34 +++++++++++++++++++++++++++++++--- 2 files changed, 44 insertions(+), 5 deletions(-) diff --git a/web/index.css b/web/index.css index b1ed703..ff747b4 100644 --- a/web/index.css +++ b/web/index.css @@ -10,6 +10,7 @@ justify-content: space-around; flex-direction: column; flex: 25%; + overflow: scroll; } .imagebox { padding: 2rem; @@ -44,8 +45,8 @@ } .template { - width: 100px; - height: 100px; + width: 6rem; + height: 6rem; } .template-selected { @@ -114,3 +115,13 @@ grid-template-areas: "A B C D" } + +.one-three-topbottom { + display: grid; + grid-template-areas: + "A A A" + "B C D" +} +.one-three-topbottom .img1 { + grid-area: A +} diff --git a/web/index.html b/web/index.html index 7c3465b..cc117aa 100644 --- a/web/index.html +++ b/web/index.html @@ -26,6 +26,9 @@ + +

+ - -

-