Skip to content

Commit

Permalink
Proper mobile view of About page
Browse files Browse the repository at this point in the history
Mobile view of about page
looks fine now by adding
scrolling feature.

Fixes #298
  • Loading branch information
AkshJain99 committed Jan 15, 2019
1 parent 88f354e commit 7d3c1da
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions partials/tabs/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,4 @@ <h2 class="fine center">about</h2>
$('ul.tabs').tabs();
});
</script>
<link rel="stylesheet" href="/resources/css/people.css">
13 changes: 13 additions & 0 deletions resources/css/people.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,16 @@
.profile-bio > p:before, .profile-bio > p:after {
content: ' " ';
}

@media only screen and (max-width: 600px) {
.card.small .card-content, .card.medium .card-content, .card.large .card-content {
max-height: 80%;
overflow: scroll;
}
}
@media only screen and (min-width: 601px) {
.card.small .card-content, .card.medium .card-content, .card.large .card-content {
max-height: 80%;
overflow: scroll;
}
}

0 comments on commit 7d3c1da

Please sign in to comment.