diff options
-rw-r--r-- | source/content.css | 19 | ||||
-rw-r--r-- | source/features/upload-button.css | 9 | ||||
-rw-r--r-- | source/features/upload-button.tsx | 1 |
3 files changed, 10 insertions, 19 deletions
diff --git a/source/content.css b/source/content.css index 146fec5a..fbd02657 100644 --- a/source/content.css +++ b/source/content.css @@ -61,25 +61,6 @@ markdown-toolbar > :nth-last-child(4) { /* H1, B, I */ display: none; } -/* Remove upload message on comment box for `upload-button` */ -.rgh-has-upload-field .is-default .drag-and-drop { - display: none; -} -.rgh-has-upload-field .is-default textarea { - border-bottom-style: solid; - border-radius: 3px; -} - -/* Remove random protip at the bottom of the page */ -.protip { - display: none !important; -} - -/* Remove message under the `Unsubscribe` button */ -.sidebar-notifications .reason { - display: none !important; -} - /* Add hover underline for `linkify-branch-refs` */ a .commit-ref:hover, a .commit-ref:hover span { diff --git a/source/features/upload-button.css b/source/features/upload-button.css new file mode 100644 index 00000000..ad57f297 --- /dev/null +++ b/source/features/upload-button.css @@ -0,0 +1,9 @@ +/* Remove upload message on comment box */ +.rgh-has-upload-field .is-default .drag-and-drop { + display: none; +} + +.rgh-has-upload-field .is-default textarea { + border-bottom-style: solid; + border-radius: 3px; +} diff --git a/source/features/upload-button.tsx b/source/features/upload-button.tsx index e8c10b7d..b07ac2dc 100644 --- a/source/features/upload-button.tsx +++ b/source/features/upload-button.tsx @@ -1,3 +1,4 @@ +import './upload-button.css'; import React from 'dom-chef'; import select from 'select-dom'; import delegate, {DelegateEvent} from 'delegate-it'; |