From a88ef61eb7138fe318c0918d362ad8484d098a39 Mon Sep 17 00:00:00 2001 From: freakoverse Date: Tue, 27 Aug 2024 11:20:23 +0000 Subject: [PATCH] Update src/styles/tiptap.scss --- src/styles/tiptap.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/styles/tiptap.scss b/src/styles/tiptap.scss index 568f865..8734048 100644 --- a/src/styles/tiptap.scss +++ b/src/styles/tiptap.scss @@ -20,14 +20,13 @@ h5, h6 { line-height: 1.1; - margin-top: 2.5rem; + margin: 10px 0px; text-wrap: pretty; } h1, h2 { - margin-top: 3.5rem; - margin-bottom: 1.5rem; + } h1 { @@ -58,11 +57,13 @@ pre { background: var(--black); // todo: fix the color - border-radius: 0.5rem; color: var(--white); font-family: 'JetBrainsMono', monospace; margin: 1.5rem 0; padding: 0.75rem 1rem; + background: #00000030; + border-radius: 5px; + border: solid 2px rebeccapurple; code { background: none;