From 2f5e080074206ffe6538f973d91cde1922d4cbf1 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 11 Oct 2020 12:34:48 -0700 Subject: [PATCH] Remove unnecessary break-all --- resources/scripts/components/server/backups/BackupRow.tsx | 2 +- resources/scripts/components/server/files/FileObjectRow.tsx | 2 +- resources/scripts/components/server/network/AllocationRow.tsx | 2 +- resources/scripts/components/server/users/UserRow.tsx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/scripts/components/server/backups/BackupRow.tsx b/resources/scripts/components/server/backups/BackupRow.tsx index fd6874cb6..426c543da 100644 --- a/resources/scripts/components/server/backups/BackupRow.tsx +++ b/resources/scripts/components/server/backups/BackupRow.tsx @@ -56,7 +56,7 @@ export default ({ backup, className }: Props) => { Failed } -

+

{backup.name}

{(backup.completedAt && backup.isSuccessful) && diff --git a/resources/scripts/components/server/files/FileObjectRow.tsx b/resources/scripts/components/server/files/FileObjectRow.tsx index b27af496e..26c37ed21 100644 --- a/resources/scripts/components/server/files/FileObjectRow.tsx +++ b/resources/scripts/components/server/files/FileObjectRow.tsx @@ -69,7 +69,7 @@ const FileObjectRow = ({ file }: { file: FileObject }) => ( } -
+
{file.name}
{file.isFile && diff --git a/resources/scripts/components/server/network/AllocationRow.tsx b/resources/scripts/components/server/network/AllocationRow.tsx index 69edb5146..27c2fba92 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 inline-block break-all`}`; +const Code = styled.code`${tw`font-mono py-1 px-2 bg-neutral-900 rounded text-sm inline-block`}`; const Label = styled.label`${tw`uppercase text-xs mt-1 text-neutral-400 block px-1 select-none transition-colors duration-150`}`; interface Props { diff --git a/resources/scripts/components/server/users/UserRow.tsx b/resources/scripts/components/server/users/UserRow.tsx index a7d54fb4e..237621660 100644 --- a/resources/scripts/components/server/users/UserRow.tsx +++ b/resources/scripts/components/server/users/UserRow.tsx @@ -30,8 +30,8 @@ export default ({ subuser }: Props) => { -
-

{subuser.email}

+
+

{subuser.email}