From b1590c7adc96595668330766722f252e576654a6 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Mon, 9 Mar 2026 02:47:07 +0000 Subject: [PATCH] Added better spacing. --- assets/stylesheets/App.css | 16 ++++++++++++++++ src/components/Dashboard/common/NoteItem.jsx | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/assets/stylesheets/App.css b/assets/stylesheets/App.css index 3c45ee2..b88a855 100644 --- a/assets/stylesheets/App.css +++ b/assets/stylesheets/App.css @@ -487,6 +487,22 @@ body { margin-top: 0; } +.markdown h1:first-child { + margin-top: -4px; +} + +.markdown h2:first-child { + margin-top: -3px; +} + +.markdown h3:first-child { + margin-top: -2px; +} + +.markdown h4:first-child { + margin-top: -1px; +} + .markdown *:last-child { margin-bottom: 0; } diff --git a/src/components/Dashboard/common/NoteItem.jsx b/src/components/Dashboard/common/NoteItem.jsx index a2a29a6..771d62e 100644 --- a/src/components/Dashboard/common/NoteItem.jsx +++ b/src/components/Dashboard/common/NoteItem.jsx @@ -163,7 +163,7 @@ const NoteItem = ({ const noteItem = ( <> - + {note.user.name}: