From 55a281581e064e6dbf28ef5bf2d8065e1d139cea Mon Sep 17 00:00:00 2001 From: Marco Crapts Date: Mon, 22 May 2023 10:58:29 +0200 Subject: [PATCH] cleanup css --- src/components/Note/NoteEditor.vue | 11 ----------- src/style.scss | 14 +++++++++++++- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/components/Note/NoteEditor.vue b/src/components/Note/NoteEditor.vue index 790a0fc..5e3ae81 100644 --- a/src/components/Note/NoteEditor.vue +++ b/src/components/Note/NoteEditor.vue @@ -181,14 +181,3 @@ const createLink = (link: string) => { /> - diff --git a/src/style.scss b/src/style.scss index 24b0bca..c1a9106 100644 --- a/src/style.scss +++ b/src/style.scss @@ -22,7 +22,9 @@ body { p:not(:last-child) { @apply mb-2; margin-top: 0 !important; - // margin-block: 0; +} +p:last-child { + @apply my-0; } .btn { @@ -34,7 +36,17 @@ p:not(:last-child) { } .ck-content { + padding: 0 !important; + border: 0 !important; + outline: none !important; + box-shadow: none !important; line-height: 2rem; + a[data-contexted-link='true'] { + @apply cursor-pointer font-semibold text-primary hover:bg-gray-200; + } + &.ck.ck-editor__editable_inline > * { + margin: 0!important; + } ol, ul { @apply my-2 ps-8;