Tweak download STL style - flex-wrap the column and grow original "built with" content so the button is pushed write but remains responsive on smaller screens
This commit is contained in:
@@ -92,16 +92,18 @@ const ProjectProfile = ({
|
|||||||
<h3 className="text-5xl capitalize text-ch-gray-300">
|
<h3 className="text-5xl capitalize text-ch-gray-300">
|
||||||
{project?.title.replace(/-/g, ' ')}
|
{project?.title.replace(/-/g, ' ')}
|
||||||
</h3>
|
</h3>
|
||||||
<div className="flex items-center text-gray-100">
|
<div className="flex items-center text-gray-100 flex-wrap">
|
||||||
<span className="pr-4">Built with</span>
|
<div className="flex flex-grow items-center">
|
||||||
<CadPackage
|
<span className="pr-4">Built with</span>
|
||||||
cadPackage={project?.cadPackage}
|
<CadPackage
|
||||||
className="px-3 py-2 rounded"
|
cadPackage={project?.cadPackage}
|
||||||
/>
|
className="px-3 py-2 rounded"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<Button
|
<Button
|
||||||
className={getActiveClasses(
|
className={getActiveClasses(
|
||||||
'mr-auto bg-red-500 ml-5 text-ch-gray-300',
|
'ml-3 hover:bg-opacity-100 bg-ch-pink-800 bg-opacity-30 mt-4 mb-3 text-ch-gray-300',
|
||||||
{ 'bg-indigo-200': currentUser }
|
{ 'bg-indigo-200': currentUser }
|
||||||
)}
|
)}
|
||||||
shouldAnimateHover
|
shouldAnimateHover
|
||||||
iconName={'document-download'}
|
iconName={'document-download'}
|
||||||
|
|||||||
Reference in New Issue
Block a user