Skip to content
Snippets Groups Projects
Commit b69e3c11 authored by gbe's avatar gbe
Browse files

Set a maxwidth for content

Closes #10
parent 743f1356
No related branches found
No related tags found
No related merge requests found
......@@ -97,4 +97,9 @@ button.round {
div.centered {
align-content: center;
display: flex;
}
.maxwidth {
max-width: 70em;
margin: auto;
}
\ No newline at end of file
......@@ -4,7 +4,7 @@
{{ define "content" }}
<div class="content pure-u-1">
<table class="box pure-table">
<table class="maxwidth box pure-table">
<thead><tr><th>#</th><th>Rating</th><th class="fill">Name</th></tr></thead>
<tbody>
{{ range .Wines }}
......@@ -19,7 +19,7 @@
</div>
<footer class="box pure-u-1">
<form class="pure-form" method="POST" enctype="multipart/form-data" action="/add">
<form class="maxwidth pure-form" method="POST" enctype="multipart/form-data" action="/add">
<fieldset>
<div class="pure-g">
<div class="pad-right pure-u-3-4">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment