Fix missing semi, Fixed task tow overflow

Was suppsoe to be correct in https://github.com/pterodactyl/panel/pull/2352 but seems to be picky. Should now correctly show a multiline text box and not a long skinny text box when the text overflows.

Also, fixed a missing semicolon. 👍
This commit is contained in:
Charles Morgan 2020-10-11 04:35:26 -04:00
parent a4d7170fac
commit c8b00f0ccf
No known key found for this signature in database
GPG Key ID: D71946CD723249BD
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ const PowerControls = () => {
<StopOrKillButton onPress={action => sendPowerCommand(action)}/>
</Can>
</div>
)
);
};
export default PowerControls;

View File

@ -81,7 +81,7 @@ export default ({ schedule, task }: Props) => {
<div css={tw`md:ml-6 mt-2`}>
{task.action === 'backup' &&
<p css={tw`text-xs uppercase text-neutral-400 mb-1`}>Ignoring files & folders:</p>}
<div css={tw`font-mono bg-neutral-800 rounded py-1 px-2 text-sm w-auto whitespace-pre inline-block break-all`}>
<div css={tw`font-mono bg-neutral-800 rounded py-1 px-2 text-sm w-auto inline-block whitespace-pre-wrap break-all`}>
{task.payload}
</div>
</div>