From 37d5239f94c25a18af773a9bcc6e4d577b98272a Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Wed, 3 Jul 2024 09:54:53 -0400 Subject: [PATCH] Some work on the main content element --- assets/styles/hallowvale.sass | 3 +++ views/layout.erb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/styles/hallowvale.sass b/assets/styles/hallowvale.sass index aa0d92b..8ecf1e4 100644 --- a/assets/styles/hallowvale.sass +++ b/assets/styles/hallowvale.sass @@ -6,6 +6,9 @@ body body background: #eee +.container + max-width: 1200px + #main-nav margin-bottom: 15px padding-left: 20px diff --git a/views/layout.erb b/views/layout.erb index 063e92b..160b874 100644 --- a/views/layout.erb +++ b/views/layout.erb @@ -15,7 +15,7 @@ <%= erb :'partials/navbar', :locals => locals %> -
+
<%= yield %>