From 10f7bb7deb784be697aaff629d10b61d9cfe739d Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 25 Apr 2021 12:56:01 -0400 Subject: Have content area fill entire screen, with sticky footer --- app/javascript/stylesheets/core.css | 7 ------- app/views/application/_header.html.erb | 2 +- app/views/layouts/application.html.erb | 13 +++++++------ 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/app/javascript/stylesheets/core.css b/app/javascript/stylesheets/core.css index 1334269..600635f 100644 --- a/app/javascript/stylesheets/core.css +++ b/app/javascript/stylesheets/core.css @@ -6,13 +6,6 @@ @apply border px-2 py-1; } -.main-wrapper { -} - -.game-container { - max-width: 1800px; -} - .game-container-box { @apply p-2 border-2 border-gray-800 rounded; } diff --git a/app/views/application/_header.html.erb b/app/views/application/_header.html.erb index b2b2cf8..2a8e698 100644 --- a/app/views/application/_header.html.erb +++ b/app/views/application/_header.html.erb @@ -1,4 +1,4 @@ -
+
<%= link_to "Esoterra", home_index_path, class: "no-underline" %>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 1f70197..3fe6f28 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -11,11 +11,12 @@ <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> - -
+ <%= render "header" %> -
-
+ +
+
<% if user_signed_in? %> <%= render "navbar" %> <% end %> @@ -37,9 +38,9 @@ <% end %>
-
+ +
Esoterra © 2020-2021
-
-- cgit v1.2.3