From 7c5b0880d14ee3b81d6e1301ec9783a676bb13ba Mon Sep 17 00:00:00 2001 From: Mauricio Fierro Date: Tue, 19 Mar 2024 19:09:29 -0500 Subject: [PATCH] Fix the lesson list styles --- app/assets/stylesheets/lesson.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/lesson.css b/app/assets/stylesheets/lesson.css index 359b275..c2a9098 100644 --- a/app/assets/stylesheets/lesson.css +++ b/app/assets/stylesheets/lesson.css @@ -2,7 +2,8 @@ .list { display: flex; flex-wrap: wrap; - gap: 10px; + gap: 5px; + justify-content: space-between; } .header { @@ -29,11 +30,10 @@ grid-template-columns: 20% 80%; grid-template-rows: auto; - width: 45%; + width: 49%; background-color: var(--bg-dark); border-radius: 5px; - /* border: 1px solid red; */ box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, @@ -42,7 +42,6 @@ .thumbnail { grid-column: 1 / 2; grid-row: 1 / span 3; - place-self: center; width: 100%; height: 100%; }