Fix bug on hovered hr options menu click

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-03-23 19:26:47 +04:00
parent 7c5d8a8cc5
commit 9c810eb1dc
4 changed files with 103 additions and 74 deletions

View File

@@ -0,0 +1,55 @@
.ProseMirror-focused {
outline-width: 0 !important;
outline-color: transparent !important;
outline-style: none !important;
}
.tiptap {
p {
@apply my-2;
code { @apply py-0.5 px-1; }
}
strong { @apply font-semibold; }
h1 { @apply text-2xl font-semibold mt-4; }
h2 { @apply text-xl font-semibold mt-3; }
h3 { @apply text-lg font-semibold mt-2; }
ul {
@apply list-disc list-inside my-2;
li {
p { @apply inline-block my-0 }
}
li::marker { @apply mx-2!; }
}
ol {
@apply list-decimal list-inside my-2;
li {
p { @apply inline-block my-0 }
}
li::marker { @apply mx-2!; }
}
a { @apply text-txt-info underline font-normal; }
&.pointer-on-hovered-link {
a:hover { cursor: pointer; }
}
blockquote {
@apply my-2 pl-4 border-l-4 border-l-border-solid;
p { @apply my-0; }
}
hr { @apply my-4 border-t-border-solid border-t; }
pre { @apply my-4 px-6 py-4 bg-border-solid rounded-lg text-sm; }
code { @apply text-inherit font-mono bg-border-solid rounded-md; }
}