Skip to content

Commit c8b00f0

Browse files
Fix missing semi, Fixed task tow overflow
Was suppsoe to be correct in pterodactyl#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. 👍
1 parent a4d7170 commit c8b00f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/scripts/components/server/PowerControls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const PowerControls = () => {
4949
<StopOrKillButton onPress={action => sendPowerCommand(action)}/>
5050
</Can>
5151
</div>
52-
)
52+
);
5353
};
5454

5555
export default PowerControls;

resources/scripts/components/server/schedules/ScheduleTaskRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default ({ schedule, task }: Props) => {
8181
<div css={tw`md:ml-6 mt-2`}>
8282
{task.action === 'backup' &&
8383
<p css={tw`text-xs uppercase text-neutral-400 mb-1`}>Ignoring files & folders:</p>}
84-
<div css={tw`font-mono bg-neutral-800 rounded py-1 px-2 text-sm w-auto whitespace-pre inline-block break-all`}>
84+
<div css={tw`font-mono bg-neutral-800 rounded py-1 px-2 text-sm w-auto inline-block whitespace-pre-wrap break-all`}>
8585
{task.payload}
8686
</div>
8787
</div>

0 commit comments

Comments
 (0)