From 05011d3d3155c70847db10158c7e290ead862660 Mon Sep 17 00:00:00 2001 From: Sergii Kostyrko Date: Sun, 7 Jul 2024 15:56:36 +0300 Subject: [PATCH] fix: improve calendar styles --- styles.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/styles.css b/styles.css index 6ea36bd..b2837dc 100644 --- a/styles.css +++ b/styles.css @@ -281,6 +281,7 @@ display: grid; grid-template-columns: repeat(7, 30px); gap: 6px; + margin: 0 auto; } .journal-calendar-view-month.with-week { grid-template-columns: repeat(8, 30px); @@ -290,14 +291,12 @@ display: flex; justify-content: space-between; align-items: center; - margin-bottom: 6px; } .journal-calendar-view-title-row { - width: 100%; display: grid; - grid-template-columns: 18px 18px 1fr 18px 18px; + grid-template-columns: 18px 18px 120px 18px 18px; gap: 6px; - margin-bottom: 6px; + margin: 0 auto 6px auto; } .journal-calendar-view-title-row > div { padding: 4px 0; @@ -309,6 +308,7 @@ display: flex; justify-content: space-around; align-items: center; + gap: 4px; } .journal-note-marker { position: absolute;