Skip to content

Commit 7d3c1da

Browse files
committed
Proper mobile view of About page
Mobile view of about page looks fine now by adding scrolling feature. Fixes #298
1 parent 88f354e commit 7d3c1da

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

partials/tabs/about.html

+1
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,4 @@ <h2 class="fine center">about</h2>
129129
$('ul.tabs').tabs();
130130
});
131131
</script>
132+
<link rel="stylesheet" href="/resources/css/people.css">

resources/css/people.css

+13
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,16 @@
5151
.profile-bio > p:before, .profile-bio > p:after {
5252
content: ' " ';
5353
}
54+
55+
@media only screen and (max-width: 600px) {
56+
.card.small .card-content, .card.medium .card-content, .card.large .card-content {
57+
max-height: 80%;
58+
overflow: scroll;
59+
}
60+
}
61+
@media only screen and (min-width: 601px) {
62+
.card.small .card-content, .card.medium .card-content, .card.large .card-content {
63+
max-height: 80%;
64+
overflow: scroll;
65+
}
66+
}

0 commit comments

Comments
 (0)