Skip to content

Commit 2f5e080

Browse files
committed
Remove unnecessary break-all
1 parent c6d6221 commit 2f5e080

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

resources/scripts/components/server/backups/BackupRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default ({ backup, className }: Props) => {
5656
Failed
5757
</span>
5858
}
59-
<p css={tw`break-all truncate`}>
59+
<p css={tw`break-words truncate`}>
6060
{backup.name}
6161
</p>
6262
{(backup.completedAt && backup.isSuccessful) &&

resources/scripts/components/server/files/FileObjectRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const FileObjectRow = ({ file }: { file: FileObject }) => (
6969
<FontAwesomeIcon icon={faFolder}/>
7070
}
7171
</div>
72-
<div css={tw`flex-1 break-all truncate`}>
72+
<div css={tw`flex-1 truncate`}>
7373
{file.name}
7474
</div>
7575
{file.isFile &&

resources/scripts/components/server/network/AllocationRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import setServerAllocationNotes from '@/api/server/network/setServerAllocationNo
1515
import useFlash from '@/plugins/useFlash';
1616
import { ServerContext } from '@/state/server';
1717

18-
const Code = styled.code`${tw`font-mono py-1 px-2 bg-neutral-900 rounded text-sm inline-block break-all`}`;
18+
const Code = styled.code`${tw`font-mono py-1 px-2 bg-neutral-900 rounded text-sm inline-block`}`;
1919
const Label = styled.label`${tw`uppercase text-xs mt-1 text-neutral-400 block px-1 select-none transition-colors duration-150`}`;
2020

2121
interface Props {

resources/scripts/components/server/users/UserRow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export default ({ subuser }: Props) => {
3030
<div css={tw`w-10 h-10 rounded-full bg-white border-2 border-neutral-800 overflow-hidden hidden md:block`}>
3131
<img css={tw`w-full h-full`} src={`${subuser.image}?s=400`}/>
3232
</div>
33-
<div css={tw`ml-4 flex-1`}>
34-
<p css={tw`text-sm break-all`}>{subuser.email}</p>
33+
<div css={tw`ml-4 flex-1 overflow-hidden`}>
34+
<p css={tw`text-sm truncate`}>{subuser.email}</p>
3535
</div>
3636
<div css={tw`ml-4`}>
3737
<p css={tw`font-medium text-center`}>

0 commit comments

Comments
 (0)