Skip to content

Commit

Permalink
fix: organisation logo display full width (#1166)
Browse files Browse the repository at this point in the history
* fix homePage: exploreProjectCard image crop fix

* fix splitTasks: text below progressBar remove
  • Loading branch information
NSUWAL123 authored Feb 2, 2024
1 parent 9654218 commit 304863e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/frontend/src/components/createnewproject/SplitTasks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,6 @@ const SplitTasks = ({ flag, geojsonFile, setGeojsonFile, customLineUpload, custo
<div className="fmtm-p-10">
<ProgressBar totalSteps={totalSteps} currentStep={generateProjectLog?.progress} />
</div>
<p className="fmtm-text-base">
Please stay on this page until the process is complete. Your changes might be lost if you cancel the
pop-up.
</p>
</div>
}
open={toggleStatus}
Expand Down
4 changes: 3 additions & 1 deletion src/frontend/src/components/home/ExploreProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ export default function ExploreProjectCard({ data }) {
<div>
<div className="fmtm-flex fmtm-justify-between">
{data.organisation_logo ? (
<CoreModules.CardMedia component="img" src={data.organisation_logo} sx={{ width: 50, height: 50 }} />
<div className="fmtm-h-[50px]">
<CoreModules.CardMedia component="img" src={data.organisation_logo} sx={{ height: 50 }} />
</div>
) : (
<CustomizedImage status={'card'} style={{ width: 50, height: 50 }} />
)}
Expand Down

0 comments on commit 304863e

Please sign in to comment.