From 80dc35eabbdf103380e8b7c1797e9bd68ad217e2 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 21 Oct 2023 19:29:00 +0200 Subject: [PATCH] fix(editor): actions styling --- src/components/input/editor/TipTap.vue | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/components/input/editor/TipTap.vue b/src/components/input/editor/TipTap.vue index 412cfbc8d..1364bcfb1 100644 --- a/src/components/input/editor/TipTap.vue +++ b/src/components/input/editor/TipTap.vue @@ -702,4 +702,34 @@ ul[data-type='taskList'] { background: var(--grey-200); } } + +ul.tiptap__editor-actions { + font-size: .8rem; + margin: 0; + + li { + display: inline-block; + + &::after { + content: 'ยท'; + padding: 0 .25rem; + } + + &:last-child:after { + content: ''; + } + } + + &, a { + color: var(--grey-500); + + &.done-edit { + color: var(--primary); + } + } + + a:hover { + text-decoration: underline; + } +}