summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar arnaudvalle <arnaudvalle@users.noreply.github.com> 2019-11-02 17:58:08 +0100
committerGravatar Federico Brigante <github@bfred.it> 2019-11-02 23:58:08 +0700
commitdfb8b35d8ab1df5c2cada2d088d5f45f64c9ebbe (patch)
tree1d04d214a91343dd0534d435b0ff2ec45c906aa3
parent082e83a4ab71c5c2a63b394c006c44caf1da1b94 (diff)
downloadrefined-github-dfb8b35d8ab1df5c2cada2d088d5f45f64c9ebbe.tar.gz
refined-github-dfb8b35d8ab1df5c2cada2d088d5f45f64c9ebbe.tar.zst
refined-github-dfb8b35d8ab1df5c2cada2d088d5f45f64c9ebbe.zip
Hide the correct editor buttons on the New Issue page (#2470)
-rw-r--r--source/features/clean-rich-text-editor.css3
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` */
}