aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-04-10 20:18:54 +0300
committerHenry Jameson <me@hjkos.com>2022-04-10 20:18:54 +0300
commit3e1b40ce29feae8ab2b13da35eece15df8a7697c (patch)
tree59ad1c2282c8845d60336dbb7c60cfb2536625aa /src/components/chat
parent0f28c28760f7a8615da18630fa49ff963d3f7533 (diff)
fix new post button not working day1, minor stylistic fixes
Diffstat (limited to 'src/components/chat')
-rw-r--r--src/components/chat/chat.js1
-rw-r--r--src/components/chat/chat.scss3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/components/chat/chat.js b/src/components/chat/chat.js
index a2789d2e..9a0ae107 100644
--- a/src/components/chat/chat.js
+++ b/src/components/chat/chat.js
@@ -91,6 +91,7 @@ const Chat = {
...mapState({
backendInteractor: state => state.api.backendInteractor,
mastoUserSocketStatus: state => state.api.mastoUserSocketStatus,
+ mobileLayout: state => state.interface.layoutType === 'mobile',
currentUser: state => state.users.currentUser
})
},
diff --git a/src/components/chat/chat.scss b/src/components/chat/chat.scss
index 34a335fe..1bad51b9 100644
--- a/src/components/chat/chat.scss
+++ b/src/components/chat/chat.scss
@@ -1,6 +1,9 @@
.chat-view {
display: flex;
height: 100%;
+ // Stick the form to the top/bottom of screen
+ margin-bottom: calc(var(--___columnMargin) / -2);
+ margin-top: calc(var(--___columnMargin) / -2);
.chat-view-inner {
height: auto;