Commit 845c5939 authored by Michael Iseard's avatar Michael Iseard
Browse files

Fix layout issues and allow templates to use wider content

parent 6ca0b130
......@@ -65,10 +65,7 @@ object {
main.wrapper {
display: grid;
grid-template-columns:
1fr
unquote("min(65ch, 100%)")
1fr;
grid-template-columns: 1fr unquote("min(65ch, 100%)") 1fr;
> * {
grid-column: 2;
......
@extends('layouts.app')
@section('container-class', 'wrapper')
@section('content')
<div class="vh-100 top-banner full-bleed mb-4">
<div class="container position-relative h-100">
......
......@@ -9,7 +9,7 @@
@endif
@yield('above-container')
<div class="content container-fluid flex-grow-1" role="document">
<main class="main wrapper">
<main class="main container @yield('container-class')">
@yield('content')
</main>
@if (App\display_sidebar())
......
@extends('layouts.app')
@section('container-class', 'wrapper')
@section('content')
@while(have_posts()) @php the_post() @endphp
@include('partials.content-page')
......
@extends('layouts.app')
@section('container-class', 'wrapper')
@section('content')
@while(have_posts()) @php the_post() @endphp
@include('partials.content-single-'.get_post_type())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment