Merge pull request #135 from hellcp/patch-3

Make footer always be at the bottom of the page
pull/199/head
daniel 2018-06-04 21:44:51 -06:00 zatwierdzone przez GitHub
commit f1c50408f1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 16 dodań i 6 usunięć

Wyświetl plik

@ -1,3 +1,15 @@
html, body {
min-height:100vh;
}
body {
display: flex;
flex-flow: column;
}
#content {
margin-bottom: auto !important;
}
body, button, input, textarea {
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",
Roboto,Helvetica,Arial,sans-serif;

Wyświetl plik

@ -19,12 +19,10 @@
</head>
<body class="">
@include('layouts.partial.nav')
<main class="">
<main id="content">
@yield('content')
</main>
<div class="align-items-end">
@include('layouts.partial.footer')
</div>
@include('layouts.partial.footer')
<script type="text/javascript" src="{{ mix('js/app.js') }}"></script>
@stack('scripts')
</body>

Wyświetl plik

@ -1,6 +1,6 @@
<footer>
<div class="container mt-5">
<p class="text-uppercase font-weight-bold small">
<div class="container py-3">
<p class="mb-0 text-uppercase font-weight-bold small">
<a href="{{route('site.about')}}" class="text-primary pr-2">About Us</a>
<a href="{{route('site.help')}}" class="text-primary pr-2">Support</a>
<a href="" class="text-primary pr-2">API</a>