fix for iphone 5

This commit is contained in:
William Zhang 2018-01-31 15:59:26 -05:00
parent 82d2657547
commit 014a12c267
3 changed files with 16 additions and 4 deletions

View File

@ -176,7 +176,8 @@ section {
#excomm,
#senators,
#sponsors,
#resources {
#resources,
#forms {
/*max-width: 1200px;*/
display: flex;
margin: 0 17.5vw;

View File

@ -144,12 +144,23 @@
/*flex-grow: 1;*/
/*flex-shrink: 0;*/
height: auto;
min-height: 100%;
min-height: calc(100vh - 130px);
}
#wrapper,
footer {
top: 48px;
}
#intro,
#updates,
#officers,
#excomm,
#senators,
#sponsors,
#resources,
#forms {
margin: 0 10vw;
width: 80vw;
}
#intro-text {
margin: 0 5vw;
}

View File

@ -14,7 +14,7 @@ sections: ["general", "events", "elections"]
<body>
{% include header.html %}
<div id="wrapper" class="fluid">
<section id="resources">
<section id="forms">
{% for form_name in site.data.forms %}
{% assign name = page.sections[forloop.index0] %}
{% assign form = site.data.forms[name] %}