Minor improvements
This commit is contained in:
parent
b3ee59c6e3
commit
394222ed60
2 changed files with 7 additions and 2 deletions
|
|
@ -1,8 +1,13 @@
|
|||
import { withCopy } from 'HOCs';
|
||||
import React from 'react';
|
||||
import { Tag } from "antd";
|
||||
|
||||
function ProjectKey({ value }: any) {
|
||||
return <div className="rounded border bg-gray-lightest w-fit px-2">{value}</div>;
|
||||
return <div className="w-fit">
|
||||
<Tag bordered={false} className='text-base font-mono'>
|
||||
{value}
|
||||
</Tag>
|
||||
</div>;
|
||||
}
|
||||
|
||||
export default withCopy(ProjectKey);
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ const Sites = ({ loading, sites, user, init }: PropsFromRedux) => {
|
|||
</div>
|
||||
<span className="ml-2">{project.host}</span>
|
||||
<div className={'ml-4 flex items-center gap-2'}>
|
||||
{project.platform === 'web' ? null : <Tag color="error">MOBILE BETA</Tag>}
|
||||
{project.platform === 'web' ? null : <Tag bordered={false} color="green">MOBILE BETA</Tag>}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue