Skip to content

Commit

Permalink
Edit minor styling
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelzhu1 committed Dec 20, 2017
1 parent 60c2623 commit 1bee620
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
15 changes: 8 additions & 7 deletions app/assets/stylesheets/components/discover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,22 +156,23 @@ div.photo-index-item-desc {
flex-direction: column;
margin-right: 10px;
}
div {
text-align: center;
font-size: 16px;
}
}

.feature-user-avatar {
// float: left;
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 50%;
cursor: pointer;
// margin-right: 12px;
}

.discover-people-name:hover {
.discover-people-name {
font-size: 16px;
font-weight: bold;
font-family: arial;
text-align: center;
}

.discover-people-name :hover {
text-decoration: underline;
}
4 changes: 2 additions & 2 deletions frontend/components/discover/discover_people_items.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { Link } from "react-router-dom";

export const DiscoverPeopleItems = ({photo}) => (
<li>
<div>
<Link className="discover-people-name" to={`/user/${photo.author_id}`}>{photo.owner}</Link>
<div className="discover-people-name">
<Link to={`/user/${photo.author_id}`}>{photo.owner}</Link>
</div>
<div>
<Link to={`/user/${photo.author_id}`}>
Expand Down

0 comments on commit 1bee620

Please sign in to comment.