Skip to content

Commit dbb9cee

Browse files
committed
Layout fixes
1 parent 0ce2403 commit dbb9cee

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

resources/views/layout.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</head>
1111
<body>
1212
<?= $layout->section('menu')->render() ?>
13-
<div class="container" style="max-width: 1170px;">
13+
<div class="container">
1414
<div style="margin: 10px">
1515
<h1>Demo App<?= $title ? "<small> \\\\ $title</small>" : '' ?></h1>
1616
<hr/>
@@ -19,5 +19,13 @@
1919
</div>
2020
<?= $layout->section('footer')->render() ?>
2121
<?php include __DIR__ . '/timing.php' ?>
22+
<style>
23+
.container {
24+
margin-right: auto;
25+
margin-left: auto;
26+
max-width: 1170px;
27+
padding: 10px;
28+
}
29+
</style>
2230
</body>
2331
</html>

0 commit comments

Comments
 (0)