Remove unnecessary break-all

This commit is contained in:
Dane Everitt 2020-10-11 12:34:48 -07:00
parent c6d6221711
commit 2f5e080074
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 5 additions and 5 deletions

View file

@ -56,7 +56,7 @@ export default ({ backup, className }: Props) => {
Failed
</span>
}
<p css={tw`break-all truncate`}>
<p css={tw`break-words truncate`}>
{backup.name}
</p>
{(backup.completedAt && backup.isSuccessful) &&

View file

@ -69,7 +69,7 @@ const FileObjectRow = ({ file }: { file: FileObject }) => (
<FontAwesomeIcon icon={faFolder}/>
}
</div>
<div css={tw`flex-1 break-all truncate`}>
<div css={tw`flex-1 truncate`}>
{file.name}
</div>
{file.isFile &&

View file

@ -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 {

View file

@ -30,8 +30,8 @@ export default ({ subuser }: Props) => {
<div css={tw`w-10 h-10 rounded-full bg-white border-2 border-neutral-800 overflow-hidden hidden md:block`}>
<img css={tw`w-full h-full`} src={`${subuser.image}?s=400`}/>
</div>
<div css={tw`ml-4 flex-1`}>
<p css={tw`text-sm break-all`}>{subuser.email}</p>
<div css={tw`ml-4 flex-1 overflow-hidden`}>
<p css={tw`text-sm truncate`}>{subuser.email}</p>
</div>
<div css={tw`ml-4`}>
<p css={tw`font-medium text-center`}>