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 36051b3374
commit 4aad0493ae

View file

@ -127,6 +127,10 @@ const FileAction = styled.div`
} }
`; `;
const ThisCodeWillBeReplacedAnywaysSoIMightAsWellJustDoItThisWay__Padding = styled.div`
width: 16px;
`;
// For sed replacement // For sed replacement
const RE_SED = new RegExp("^s/([^])*/([^])*$"); const RE_SED = new RegExp("^s/([^])*/([^])*$");
@ -512,7 +516,9 @@ export default observer(({ channel }: Props) => {
}} }}
/> />
</FileAction> </FileAction>
) : undefined} ) : (
<ThisCodeWillBeReplacedAnywaysSoIMightAsWellJustDoItThisWay__Padding />
)}
<TextAreaAutoSize <TextAreaAutoSize
autoFocus autoFocus
hideBorder hideBorder