mirror of
https://github.com/writefreely/writefreely
synced 2024-11-28 11:30:18 +00:00
Make Reader width consistent with other pages
This commit is contained in:
parent
5d754176e0
commit
b1d006fcf2
1 changed files with 4 additions and 1 deletions
|
@ -75,11 +75,14 @@
|
||||||
body#collection header nav.tabs a:first-child {
|
body#collection header nav.tabs a:first-child {
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
}
|
}
|
||||||
|
body#collection article {
|
||||||
|
max-width: 40em !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{define "body-attrs"}}id="collection"{{end}}
|
{{define "body-attrs"}}id="collection"{{end}}
|
||||||
{{define "content"}}
|
{{define "content"}}
|
||||||
<div class="content-container snug" style="max-width: 40rem;">
|
<div class="content-container snug">
|
||||||
<h1>{{.ContentTitle}}</h1>
|
<h1>{{.ContentTitle}}</h1>
|
||||||
<p{{if .SelTopic}} style="text-align:center"{{end}}>{{if .SelTopic}}#{{.SelTopic}} posts{{else}}{{.Content}}{{end}}</p>
|
<p{{if .SelTopic}} style="text-align:center"{{end}}>{{if .SelTopic}}#{{.SelTopic}} posts{{else}}{{.Content}}{{end}}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue