diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/stylesheets/core.css | 6 | ||||
-rw-r--r-- | app/views/layouts/application.html.erb | 11 |
2 files changed, 5 insertions, 12 deletions
diff --git a/app/javascript/stylesheets/core.css b/app/javascript/stylesheets/core.css index 600635f..5829130 100644 --- a/app/javascript/stylesheets/core.css +++ b/app/javascript/stylesheets/core.css @@ -14,12 +14,6 @@ font-family: "Montaga", "Open Sans", sans-serif; } -.side-box { - position: -webkit-sticky; - position: sticky; - top: 8px; -} - #look_output { @apply min-w-full my-2 overflow-auto border-2 border-gray-800 rounded; height: 75px; diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 7ae44a9..6a2510b 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -14,25 +14,24 @@ <body class="flex flex-col min-h-screen text-base text-gray-400 bg-gray-800"> <%= render "header" %> - <div class="main-wrapper flex-1 bg-gray-900 rounded flex-grow"> - <div class="game-container mx-auto p-2 grid gap-2 grid-cols-12 px-2" + <div class="flex-1 bg-gray-900 rounded flex-grow"> + <div class="mx-auto p-2 grid gap-2 grid-cols-12 px-2" style="max-width: 1800px;"> <% if user_signed_in? %> <%= render "navbar" %> <% end %> - <div id="world_box" class="game-container-box col-span-12 sm:col-span-8"> + <div class="game-container-box col-span-12 sm:col-span-8"> <p><%= notice %></p> <p><%= alert %></p> <%= yield %> </div> <% if user_signed_in? %> - <div id="chat_box" class="game-container-box side-box col-span-12 sm:col-span-4" + <div class="game-container-box col-span-12 sm:col-span-4" data-turbolinks-permanent> <%= render "chat" %> </div> - </div> <% else %> - <div id="game_info_box" class="game-container-box side-box col-span-12 sm:col-span-4" + <div class="game-container-box col-span-12 sm:col-span-4" data-turbolinks-permanent> <%= render "game_info" %> </div> |