diff options
-rw-r--r-- | source/features/clean-rich-text-editor.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/features/clean-rich-text-editor.css b/source/features/clean-rich-text-editor.css index 41e956bc..788a0ce3 100644 --- a/source/features/clean-rich-text-editor.css +++ b/source/features/clean-rich-text-editor.css @@ -1,6 +1,7 @@ /* Hide unnecessary comment toolbar items */ .rgh-clean-rich-text-editor md-mention, .rgh-clean-rich-text-editor md-ref, -.rgh-clean-rich-text-editor markdown-toolbar > :nth-last-child(4) { /* H1, B, I */ +.rgh-clean-rich-text-editor form#new_issue markdown-toolbar > :nth-last-child(5), +.rgh-clean-rich-text-editor form:not(#new_issue) markdown-toolbar > :nth-last-child(4) { /* H1, B, I */ display: none !important; /* Has to override `.d-inline-block` */ } |