From c39cc79c911df948c3f7f4e7a90e705559d4a219 Mon Sep 17 00:00:00 2001 From: MrOrz Date: Wed, 25 Oct 2023 01:14:43 +0800 Subject: [PATCH] refactor(Collaborate): remove unused style --- components/Collaborate/Prosemirror.css | 33 -------------------------- 1 file changed, 33 deletions(-) diff --git a/components/Collaborate/Prosemirror.css b/components/Collaborate/Prosemirror.css index 5a6cb6ec..10cb0160 100644 --- a/components/Collaborate/Prosemirror.css +++ b/components/Collaborate/Prosemirror.css @@ -68,29 +68,6 @@ li.ProseMirror-selectednode:after { .ProseMirror-focused .ProseMirror-gapcursor { display: block; } -/* Add space around the hr to make clicking it easier */ - -.ProseMirror-example-setup-style hr { - padding: 2px 10px; - border: none; - margin: 1em 0; -} - -.ProseMirror-example-setup-style hr:after { - content: ""; - display: block; - height: 1px; - background-color: silver; - line-height: 2px; -} - -.ProseMirror ul, .ProseMirror ol { - padding-left: 30px; -} - -.ProseMirror-example-setup-style img { - cursor: default; -} .ProseMirror-prompt { background: white; @@ -134,16 +111,6 @@ li.ProseMirror-selectednode:after { display: none; } -.ProseMirror p:first-child, -.ProseMirror h1:first-child, -.ProseMirror h2:first-child, -.ProseMirror h3:first-child, -.ProseMirror h4:first-child, -.ProseMirror h5:first-child, -.ProseMirror h6:first-child { - margin-top: 10px; -} - .ProseMirror { padding: 4px 8px 4px 14px; line-height: 1.2;