Skip to content

Commit

Permalink
contents wrap, as overflow in body is ignored on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
alb-car committed Mar 26, 2024
1 parent 32c6cb3 commit 2d66c1a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
6 changes: 6 additions & 0 deletions _includes/css/agency.css
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ section h3.section-subheading {
}

.team-member img {
width: 150px;
margin: 0 auto;
border: 7px solid #fff;
}
Expand Down Expand Up @@ -851,6 +852,11 @@ body {
width: auto;
}

#page-contents {
position: absolute;
overflow-x: hidden;
}

/* For displaying team members horizontally */
/*
.team-container {
Expand Down
19 changes: 9 additions & 10 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@

{% include head.html %}


<body id="page-top" class="index">

{% include header.html %}
{% include features.html %}
{% include about.html %}
{% include team.html %}
{% include partners.html %}
{% include footer.html %}
{% include js.html %}

<div id="page-contents">
{% include header.html %}
{% include features.html %}
{% include about.html %}
{% include team.html %}
{% include partners.html %}
{% include footer.html %}
{% include js.html %}
</div>
</body>
</html>

0 comments on commit 2d66c1a

Please sign in to comment.