admin(ui): fix descriptions overflowing vertically
This commit is contained in:
parent
1800800308
commit
52b2463281
28 changed files with 107 additions and 85 deletions
|
@ -4,11 +4,11 @@ import AdminContentBlock from '@/components/admin/AdminContentBlock';
|
|||
|
||||
export default () => {
|
||||
return (
|
||||
<AdminContentBlock>
|
||||
<AdminContentBlock title={'New Node'}>
|
||||
<div css={tw`w-full flex flex-row items-center mb-8`}>
|
||||
<div css={tw`flex flex-col`}>
|
||||
<div css={tw`flex flex-col flex-shrink`} style={{ minWidth: '0' }}>
|
||||
<h2 css={tw`text-2xl text-neutral-50 font-header font-medium`}>Create Node</h2>
|
||||
<p css={tw`text-base text-neutral-400`}>Add a new node to the panel.</p>
|
||||
<p css={tw`text-base text-neutral-400 whitespace-nowrap overflow-ellipsis overflow-hidden`}>Add a new node to the panel.</p>
|
||||
</div>
|
||||
</div>
|
||||
</AdminContentBlock>
|
||||
|
|
|
@ -58,9 +58,9 @@ const NodeEditContainer = () => {
|
|||
return (
|
||||
<AdminContentBlock title={'Node - ' + node.name}>
|
||||
<div css={tw`w-full flex flex-row items-center mb-8`}>
|
||||
<div css={tw`flex flex-col`}>
|
||||
<div css={tw`flex flex-col flex-shrink`} style={{ minWidth: '0' }}>
|
||||
<h2 css={tw`text-2xl text-neutral-50 font-header font-medium`}>{node.name}</h2>
|
||||
<p css={tw`text-base text-neutral-400`}>{node.uuid}</p>
|
||||
<p css={tw`text-base text-neutral-400 whitespace-nowrap overflow-ellipsis overflow-hidden`}>{node.uuid}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -64,16 +64,18 @@ const NodesContainer = () => {
|
|||
return (
|
||||
<AdminContentBlock title={'Nodes'}>
|
||||
<div css={tw`w-full flex flex-row items-center mb-8`}>
|
||||
<div css={tw`flex flex-col`}>
|
||||
<div css={tw`flex flex-col flex-shrink`} style={{ minWidth: '0' }}>
|
||||
<h2 css={tw`text-2xl text-neutral-50 font-header font-medium`}>Nodes</h2>
|
||||
<p css={tw`text-base text-neutral-400`}>All nodes available on the system.</p>
|
||||
<p css={tw`text-base text-neutral-400 whitespace-nowrap overflow-ellipsis overflow-hidden`}>All nodes available on the system.</p>
|
||||
</div>
|
||||
|
||||
<NavLink to={`${match.url}/new`} css={tw`ml-auto`}>
|
||||
<Button type={'button'} size={'large'} css={tw`h-10 px-4 py-0`}>
|
||||
New Node
|
||||
</Button>
|
||||
</NavLink>
|
||||
<div css={tw`flex ml-auto pl-4`}>
|
||||
<NavLink to={`${match.url}/new`}>
|
||||
<Button type={'button'} size={'large'} css={tw`h-10 px-4 py-0 whitespace-nowrap`}>
|
||||
New Node
|
||||
</Button>
|
||||
</NavLink>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<FlashMessageRender byKey={'nodes'} css={tw`mb-4`}/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue