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}: