fix: module status line break (#597)

This commit is contained in:
Aaryan Khandelwal 2023-03-30 02:07:48 +05:30 committed by GitHub
parent 89bb439d62
commit fb01e6d22c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ export const SingleModuleCard: React.FC<Props> = ({ module, handleEditModule })
</Tooltip> </Tooltip>
<div className="flex items-center gap-1"> <div className="flex items-center gap-1">
<div className="mr-2 rounded flex bg-gray-100 px-2.5 py-2"> <div className="mr-2 rounded flex bg-gray-100 px-2.5 py-2 whitespace-nowrap">
<span className="capitalize">{module?.status?.replace("-", " ")}</span> <span className="capitalize">{module?.status?.replace("-", " ")}</span>
</div> </div>
{module.is_favorite ? ( {module.is_favorite ? (