From b711c2ea9ee039f08fc6be9fe8fceac830950ebf Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Sun, 12 Apr 2020 22:36:32 -0400 Subject: [PATCH] [deploy] Fix scrolling issues and small fixes (#7245) --- app/assets/stylesheets/chat.scss | 10 ++++++++-- .../__snapshots__/content.test.jsx.snap | 4 ++-- app/javascript/chat/chat.jsx | 17 ++++++++++++----- app/javascript/chat/content.jsx | 4 ++-- app/javascript/chat/videoContent.jsx | 4 ++-- 5 files changed, 26 insertions(+), 13 deletions(-) diff --git a/app/assets/stylesheets/chat.scss b/app/assets/stylesheets/chat.scss index b949c05e4..598974ef2 100644 --- a/app/assets/stylesheets/chat.scss +++ b/app/assets/stylesheets/chat.scss @@ -448,9 +448,14 @@ top: 4px; z-index: 10; padding: 0px; - height: 28px; - width: 28px; + height: 30px; + width: 30px; line-height: 0; + @media screen and (max-width: 800px) { + &.activechatchannel__activecontentexitbutton--fullscreen { + display: none; + } + } } .activechatchannel__activeArticle { @@ -943,6 +948,7 @@ font-size: 13px; text-transform: uppercase; font-weight: bold; + z-index: 7; } .chatchanneljumpback__hide { diff --git a/app/javascript/chat/__tests__/__snapshots__/content.test.jsx.snap b/app/javascript/chat/__tests__/__snapshots__/content.test.jsx.snap index ab69470bf..54868c7f0 100644 --- a/app/javascript/chat/__tests__/__snapshots__/content.test.jsx.snap +++ b/app/javascript/chat/__tests__/__snapshots__/content.test.jsx.snap @@ -29,11 +29,11 @@ exports[` as loading-user should render and test snapshot 1`] = ` diff --git a/app/javascript/chat/videoContent.jsx b/app/javascript/chat/videoContent.jsx index ba9c382be..80744124a 100644 --- a/app/javascript/chat/videoContent.jsx +++ b/app/javascript/chat/videoContent.jsx @@ -20,9 +20,9 @@ export default class VideoContent extends Component {