Skip to content

Commit

Permalink
Fix images in Metrics and Teams views (#2459)
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinBeczak authored Oct 3, 2024
1 parent 06e20ae commit be64a37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions src/pages/Metrics/Metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import _omit from 'lodash/omit'
import AsAvatarUser from '../../interactions/User/AsAvatarUser'
import messages from './Messages'
import messagesAsReviewer from './MessagesAsReviewer'
import illustrationCompletedTasks from '../../static/images/illustration-completed-tasks.svg'

const ProfileImage = props => {

Expand Down Expand Up @@ -120,11 +121,7 @@ class Metrics extends Component {
<div className="mr-flex-grow mr-text-center"><BusySpinner /></div> :
<div className="mr-flex-grow mr-flex mr-flex-col mr-items-center">
<div className="mr-mb-6">
<SvgSymbol
sym="illustration-completed-tasks"
className="mr-w-32 mr-h-auto"
viewBox="0 0 183 120"
/>
<img src={illustrationCompletedTasks} style={{ height: 80, width: 120}} />
</div>
<span className="mr-ticker mr-mb-6 mr-text-5xl lg:mr-text-6xl">
{this.digitBoxes(totalTasks, 4)}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Teams/Teams.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const Teams = props => {
</button>
</div>
<div className="mr-w-1/2 mr-h-100 mr-absolute mr-top-0 mr-right-0 mr--mt-20">
<img src={teamsImage} className="mr-w-full mr-h-full" />
<img src={teamsImage} className="mr-w-60 mr-h-60" />
</div>
</div>
</div>
Expand Down

0 comments on commit be64a37

Please sign in to comment.