From 57252386234e802b3a3707d32a8b74130de4a56e Mon Sep 17 00:00:00 2001 From: David Gay Date: Sat, 5 Jun 2021 19:31:44 -0400 Subject: Improve UI responsiveness and scaling --- app/javascript/stylesheets/core.css | 9 ++++----- app/views/layouts/application.html.erb | 21 ++++++++++----------- 2 files changed, 14 insertions(+), 16 deletions(-) (limited to 'app') diff --git a/app/javascript/stylesheets/core.css b/app/javascript/stylesheets/core.css index 9bfb19b..f002580 100644 --- a/app/javascript/stylesheets/core.css +++ b/app/javascript/stylesheets/core.css @@ -14,11 +14,10 @@ @apply p-2 border-2 border-gray-800 rounded; } -.header-title { - font-family: "Montaga", "Open Sans", sans-serif; +.game-container-column { + max-height: calc(100vh - 9rem); } -#look_output { - @apply min-w-full my-2 overflow-auto border-2 border-gray-800 rounded; - height: 75px; +.header-title { + font-family: "Montaga", "Open Sans", sans-serif; } diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 513fcdd..577debc 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -15,35 +15,34 @@ <%= render "header" %>
-
+
<% if user_signed_in? %> <%= render "navbar" %> <% end %> -
-
+
+
<%= render "flash_messages" %> <%= yield %>
<% if user_signed_in? %> -
+
<% end %>
<% if user_signed_in? %> -
-
+
+
<%= render "timer" %>
-
<%= render "chat" %>
<% else %> -
<%= render "game_info" %>
-- cgit v1.2.3