summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/features/preview-hidden-comments.css4
-rw-r--r--source/features/preview-hidden-comments.tsx1
2 files changed, 5 insertions, 0 deletions
diff --git a/source/features/preview-hidden-comments.css b/source/features/preview-hidden-comments.css
new file mode 100644
index 00000000..c3b56a98
--- /dev/null
+++ b/source/features/preview-hidden-comments.css
@@ -0,0 +1,4 @@
+/* Avoid overflow on mobile due to change of flex-direction #5750 */
+.rgh-preview-hidden-comments h3 {
+ max-width: 100%;
+}
diff --git a/source/features/preview-hidden-comments.tsx b/source/features/preview-hidden-comments.tsx
index 57c8a262..939ded74 100644
--- a/source/features/preview-hidden-comments.tsx
+++ b/source/features/preview-hidden-comments.tsx
@@ -1,3 +1,4 @@
+import './preview-hidden-comments.css';
import React from 'dom-chef';
import select from 'select-dom';
import * as pageDetect from 'github-url-detection';