Remove unnecessary break-all
This commit is contained in:
parent
c6d6221711
commit
2f5e080074
4 changed files with 5 additions and 5 deletions
|
@ -56,7 +56,7 @@ export default ({ backup, className }: Props) => {
|
||||||
Failed
|
Failed
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
<p css={tw`break-all truncate`}>
|
<p css={tw`break-words truncate`}>
|
||||||
{backup.name}
|
{backup.name}
|
||||||
</p>
|
</p>
|
||||||
{(backup.completedAt && backup.isSuccessful) &&
|
{(backup.completedAt && backup.isSuccessful) &&
|
||||||
|
|
|
@ -69,7 +69,7 @@ const FileObjectRow = ({ file }: { file: FileObject }) => (
|
||||||
<FontAwesomeIcon icon={faFolder}/>
|
<FontAwesomeIcon icon={faFolder}/>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<div css={tw`flex-1 break-all truncate`}>
|
<div css={tw`flex-1 truncate`}>
|
||||||
{file.name}
|
{file.name}
|
||||||
</div>
|
</div>
|
||||||
{file.isFile &&
|
{file.isFile &&
|
||||||
|
|
|
@ -15,7 +15,7 @@ import setServerAllocationNotes from '@/api/server/network/setServerAllocationNo
|
||||||
import useFlash from '@/plugins/useFlash';
|
import useFlash from '@/plugins/useFlash';
|
||||||
import { ServerContext } from '@/state/server';
|
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`}`;
|
const Label = styled.label`${tw`uppercase text-xs mt-1 text-neutral-400 block px-1 select-none transition-colors duration-150`}`;
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
|
|
@ -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`}>
|
<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`}/>
|
<img css={tw`w-full h-full`} src={`${subuser.image}?s=400`}/>
|
||||||
</div>
|
</div>
|
||||||
<div css={tw`ml-4 flex-1`}>
|
<div css={tw`ml-4 flex-1 overflow-hidden`}>
|
||||||
<p css={tw`text-sm break-all`}>{subuser.email}</p>
|
<p css={tw`text-sm truncate`}>{subuser.email}</p>
|
||||||
</div>
|
</div>
|
||||||
<div css={tw`ml-4`}>
|
<div css={tw`ml-4`}>
|
||||||
<p css={tw`font-medium text-center`}>
|
<p css={tw`font-medium text-center`}>
|
||||||
|
|
Loading…
Reference in a new issue