From 4aad0493ae0d0c140bd9e1996c6eb2e48dd20bac Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Thu, 21 Apr 2022 19:35:45 +0100 Subject: [PATCH] fix: add padding to message box when no file perm closes #84 --- src/components/common/messaging/MessageBox.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/common/messaging/MessageBox.tsx b/src/components/common/messaging/MessageBox.tsx index 53314b72..0bc562f7 100644 --- a/src/components/common/messaging/MessageBox.tsx +++ b/src/components/common/messaging/MessageBox.tsx @@ -127,6 +127,10 @@ const FileAction = styled.div` } `; +const ThisCodeWillBeReplacedAnywaysSoIMightAsWellJustDoItThisWay__Padding = styled.div` + width: 16px; +`; + // For sed replacement const RE_SED = new RegExp("^s/([^])*/([^])*$"); @@ -512,7 +516,9 @@ export default observer(({ channel }: Props) => { }} /> - ) : undefined} + ) : ( + + )}