fix: add padding to message box when no file perm

closes #84
This commit is contained in:
Paul Makles
2022-04-21 19:35:45 +01:00
parent 704ad3f823
commit 13c726c8a1

View File

@@ -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) => {
}}
/>
</FileAction>
) : undefined}
) : (
<ThisCodeWillBeReplacedAnywaysSoIMightAsWellJustDoItThisWay__Padding />
)}
<TextAreaAutoSize
autoFocus
hideBorder