frontend: use width in .viewport
Also add .viewport to main div.
This commit is contained in:
parent
922fe8c2be
commit
499510bd21
@ -76,7 +76,7 @@ a:active {
|
||||
.viewport {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 60rem;
|
||||
width: 60rem;
|
||||
}
|
||||
|
||||
.border-bottom {
|
||||
|
@ -19,7 +19,7 @@
|
||||
<main class="border-bottom border-top border-accent flex-i-fullsize flex-c-vertical">
|
||||
<div class="viewport flex-i-fullsize flex-c-vertical">
|
||||
<h1>[% title %]</h1>
|
||||
<div class="flex-i-fullsize">[% content %]</div>
|
||||
<div class="viewport flex-i-fullsize">[% content %]</div>
|
||||
[% IF pager %]
|
||||
<footer>
|
||||
<nav class="text-center">
|
||||
|
Loading…
Reference in New Issue
Block a user