Use primer class to set height to full
This commit is contained in:
parent
be9dda44db
commit
4e500ca6d1
5 changed files with 5 additions and 11 deletions
|
@ -17,7 +17,7 @@
|
|||
{% endif %}
|
||||
|
||||
<!doctype html>
|
||||
<html>
|
||||
<html class="height-full">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="description" content="{{ meta_description }}" />
|
||||
|
@ -25,4 +25,4 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<link href="{{ "/assets/styles.css" | absolute_url }}" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body class="bg-white" {% if site.style == 'dark' %}style="background-color: #2f363d !important"{% endif %}>
|
||||
<body class="bg-white height-full" {% if site.style == 'dark' %}style="background-color: #2f363d !important"{% endif %}>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="d-md-flex {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
|
||||
<div class="d-md-flex height-full {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
|
||||
<div class="flex-self-stretch {% if site.style == 'dark' %}bg-gray-dark{% else %}border-md-right border-gray-light bg-white{% endif %} col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6">
|
||||
{% include masthead.html metadata=true %}
|
||||
</div>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
{% endunless %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="d-md-flex {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
|
||||
<div class="d-md-flex height-full {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
|
||||
<div class="flex-self-stretch {% if site.style == 'dark' %}bg-gray-dark{% else %}border-md-right border-gray-light bg-white{% endif %} col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6">
|
||||
{% include masthead.html metadata=true %}
|
||||
</div>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="d-md-flex {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
|
||||
<div class="d-md-flex height-full {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
|
||||
<div class="flex-self-stretch {% if site.style == 'dark' %}bg-gray-dark{% else %}border-md-right border-gray-light bg-white{% endif %} col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6">
|
||||
{% include masthead.html metadata=true %}
|
||||
</div>
|
||||
|
|
|
@ -28,9 +28,3 @@ body {
|
|||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
body,
|
||||
html,
|
||||
.d-md-flex {
|
||||
height: 100%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue