Minor improvements

This commit is contained in:
Sudheer Salavadi 2024-07-01 20:46:51 +05:30
parent b3ee59c6e3
commit 394222ed60
2 changed files with 7 additions and 2 deletions

View file

@ -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);

View file

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