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, #excomm,
#senators, #senators,
#sponsors, #sponsors,
#resources { #resources,
#forms {
/*max-width: 1200px;*/ /*max-width: 1200px;*/
display: flex; display: flex;
margin: 0 17.5vw; margin: 0 17.5vw;

View File

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

View File

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