From 2cec3c4e90f83f57ce60905ecc574ff8b82660dc Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Tue, 21 Apr 2020 16:54:56 +1000 Subject: [PATCH] chat-fe: fix unreadnotice position on mobile --- pkg/interface/chat/src/css/custom.css | 7 +++++++ pkg/interface/chat/src/js/components/lib/unread-notice.js | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pkg/interface/chat/src/css/custom.css b/pkg/interface/chat/src/css/custom.css index c6c814428..c8424c4c5 100644 --- a/pkg/interface/chat/src/css/custom.css +++ b/pkg/interface/chat/src/css/custom.css @@ -173,6 +173,10 @@ h2 { color: #7ea899; } +.unread-notice { + top: 48px; +} + /* responsive */ @media all and (max-width: 34.375em) { @@ -191,6 +195,9 @@ h2 { .embed-container { padding-bottom: 56.25%; } + .unread-notice { + top: 96px; + } } @media all and (min-width: 34.375em) and (max-width: 46.875em) { diff --git a/pkg/interface/chat/src/js/components/lib/unread-notice.js b/pkg/interface/chat/src/js/components/lib/unread-notice.js index 8f7ae5a54..1c59aa2c3 100644 --- a/pkg/interface/chat/src/js/components/lib/unread-notice.js +++ b/pkg/interface/chat/src/js/components/lib/unread-notice.js @@ -17,8 +17,8 @@ export class UnreadNotice extends Component { return (

@@ -30,7 +30,7 @@ export class UnreadNotice extends Component { )} {timestamp}

-
+
Mark as Read