Skip to content
Snippets Groups Projects
Commit 9378d019 authored by Martin Wighus Holtmon's avatar Martin Wighus Holtmon
Browse files

projectSecondPart/Problem2 - updated css for UserDetail

parent a3b50967
Branches
No related tags found
No related merge requests found
.profile-description {
font-weight: bold;
margin-bottom: 5px;
}
import React from 'react'; import React from 'react';
import { import {
Button,
Typography Typography
} from '@material-ui/core'; } from '@material-ui/core';
import {Link, withRouter} from 'react-router-dom'; import {Link, withRouter} from 'react-router-dom';
...@@ -41,9 +40,9 @@ class UserDetail extends React.Component { ...@@ -41,9 +40,9 @@ class UserDetail extends React.Component {
{user.first_name} {user.last_name} {user.first_name} {user.last_name}
</Typography> </Typography>
<Typography variant="body1"> <Typography variant="body1">
Occupation: {user.occupation} <br/> <span className="profile-description">Occupation:</span> {user.occupation} <br/>
From: {user.location} <br/> <span className="profile-description">From:</span> {user.location} <br/>
Description: {user.description} <span className="profile-description">Description:</span> {user.description}
</Typography> </Typography>
</> </>
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment