Skip to content

Commit

Permalink
Fix corrupted UI
Browse files Browse the repository at this point in the history
  • Loading branch information
moshfeu committed Mar 9, 2019
1 parent 9c4cb3d commit 72ad617
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/components/MentorsList/MentorList.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}

.device-desktop .mentor-card.mentor-card.mentor-card {
width: 310px;
width: 350px;
}

.device-mobile .mentor-card.mentor-card.mentor-card {
Expand All @@ -34,6 +34,10 @@
padding: .35em 1em;
}

.mentor-card .tags {
margin-bottom: -8px;
}

.mentor-card .description {
/* 2 lines min */
height: 38px;
Expand Down
4 changes: 3 additions & 1 deletion src/components/MentorsList/MentorsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ const items = (mentors, favs, onToggleFav) => mentors.map((mentor, index) => {
<div className="details">
<Card.Header>{mentor.name}</Card.Header>
<Card.Meta>{mentor.title}</Card.Meta>
{tagsList(mentor.tags)}
<div className="tags">
{tagsList(mentor.tags)}
</div>
</div>
</header>
<div className="details">
Expand Down

0 comments on commit 72ad617

Please sign in to comment.