Fix bug on hovered hr options menu click
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
55
packages/ui/src/rich-editor.css
Normal file
55
packages/ui/src/rich-editor.css
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user