diff --git a/resources/scripts/components/server/backups/BackupRow.tsx b/resources/scripts/components/server/backups/BackupRow.tsx index fbbb849f9..ff8b356fb 100644 --- a/resources/scripts/components/server/backups/BackupRow.tsx +++ b/resources/scripts/components/server/backups/BackupRow.tsx @@ -49,7 +49,7 @@ export default ({ backup, className }: Props) => { }
-

+

{!backup.isSuccessful && Failed diff --git a/resources/scripts/components/server/network/AllocationRow.tsx b/resources/scripts/components/server/network/AllocationRow.tsx index c8b7870e7..69edb5146 100644 --- a/resources/scripts/components/server/network/AllocationRow.tsx +++ b/resources/scripts/components/server/network/AllocationRow.tsx @@ -15,7 +15,7 @@ import setServerAllocationNotes from '@/api/server/network/setServerAllocationNo import useFlash from '@/plugins/useFlash'; import { ServerContext } from '@/state/server'; -const Code = styled.code`${tw`font-mono py-1 px-2 bg-neutral-900 rounded text-sm block`}`; +const Code = styled.code`${tw`font-mono py-1 px-2 bg-neutral-900 rounded text-sm inline-block break-all`}`; const Label = styled.label`${tw`uppercase text-xs mt-1 text-neutral-400 block px-1 select-none transition-colors duration-150`}`; interface Props { @@ -40,22 +40,21 @@ const AllocationRow = ({ allocation, onSetPrimary, onNotesChanged }: Props) => { }, 750); return ( - 0 ? tw`mt-2 overflow-x-auto` : tw`overflow-x-auto`} - > -

- + +
+
+ +
+
+ {allocation.alias || allocation.ip} + +
+
+ {allocation.port} + +
-
- {allocation.alias || allocation.ip} - -
-
- {allocation.port} - -
-
+