diff --git a/apps/app/components/tiptap/bubble-menu/index.tsx b/apps/app/components/tiptap/bubble-menu/index.tsx index a3f11049b..590dfab5e 100644 --- a/apps/app/components/tiptap/bubble-menu/index.tsx +++ b/apps/app/components/tiptap/bubble-menu/index.tsx @@ -98,11 +98,13 @@ export const EditorBubbleMenu: FC = (props) => { diff --git a/apps/app/components/tiptap/bubble-menu/link-selector.tsx b/apps/app/components/tiptap/bubble-menu/link-selector.tsx index d4248e3cc..f843db0ac 100644 --- a/apps/app/components/tiptap/bubble-menu/link-selector.tsx +++ b/apps/app/components/tiptap/bubble-menu/link-selector.tsx @@ -19,7 +19,7 @@ export const LinkSelector: FC = ({ editor, isOpen, setIsOpen return (
{isOpen && ( -
+
{items.map((item, index) => ( ))} diff --git a/apps/app/styles/editor.css b/apps/app/styles/editor.css index f76f690af..7ffb7a0ac 100644 --- a/apps/app/styles/editor.css +++ b/apps/app/styles/editor.css @@ -115,83 +115,3 @@ ul[data-type="taskList"] li[data-checked="true"] > div > p { -webkit-appearance: textfield; -moz-appearance: textfield; } - -.ProseMirror pre { - background: #121212; - border-radius: 0.375rem; - border-color: rgba(var(--color-background-100)); - border: 0.5px solid; - font-family: "JetBrainsMono", monospace; - padding: 0.75rem 1rem; -} - -.ProseMirror pre code { - background: none; - color: inherit; - font-size: 0.8rem; - padding: 0; -} - -.ProseMirror-icon { - display: inline-block; - line-height: 0.8; - vertical-align: -2px; - color: #666; - cursor: pointer; - margin: 0 3px; - padding: 3px 8px; - border-radius: 3px; - border: 1px solid transparent; - transition: background 50ms ease-in-out; - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.ProseMirror-menu-disabled.ProseMirror-icon { - opacity: 0.3; - cursor: default; - pointer-events: none; -} - -.ProseMirror-icon svg { - fill: currentColor; - height: 1em; -} - -.ProseMirror-icon span { - vertical-align: text-top; -} - -.remirror-editor-wrapper .remirror-editor { - min-height: 150px; -} - -.issue-comments-section .remirror-editor-wrapper .remirror-editor, -.page-block-section .remirror-editor-wrapper .remirror-editor { - min-height: 50px; -} - -.remirror-section .remirror-editor-wrapper .remirror-editor { - min-height: 0 !important; -} - -.remirror-editor-wrapper { - padding-top: 8px; -} - -.MuiButtonBase-root { - border: none !important; - border-radius: 0.25rem !important; - padding: 0.25rem !important; -} - -.MuiButtonBase-root svg { - fill: rgb(var(--color-text-100)) !important; -} - -.MuiButtonBase-root.Mui-selected, -.MuiButtonBase-root:hover { - background-color: rgb(var(--color-background-100)) !important; -}