diff options
author | 2022-07-09 12:51:22 +0700 | |
---|---|---|
committer | 2022-07-09 12:51:22 +0700 | |
commit | c3d070919dbe35563b95e3b0918b2ac05eff501f (patch) | |
tree | c9716256d91a014a99a1c91a6ac918668d437037 | |
parent | 8bf8cd2f2fe462ca4e632e00e3782b72187408db (diff) | |
download | refined-github-c3d070919dbe35563b95e3b0918b2ac05eff501f.tar.gz refined-github-c3d070919dbe35563b95e3b0918b2ac05eff501f.tar.zst refined-github-c3d070919dbe35563b95e3b0918b2ac05eff501f.zip |
Fix `preview-hidden-comments` overflow on mobile (#5792)
-rw-r--r-- | source/features/preview-hidden-comments.css | 4 | ||||
-rw-r--r-- | source/features/preview-hidden-comments.tsx | 1 |
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'; |