From e8ad3dff9e002e2febdefe1904a94c4a00f954a7 Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Sun, 12 Nov 2023 05:58:37 +0000 Subject: [PATCH] Fix home page doodad overflow --- app/assets/stylesheets/doodads.sass | 1 + app/views/visitors/index.html.haml | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/doodads.sass b/app/assets/stylesheets/doodads.sass index 843acada..9f2ebe6e 100644 --- a/app/assets/stylesheets/doodads.sass +++ b/app/assets/stylesheets/doodads.sass @@ -1,4 +1,5 @@ .doodad + word-wrap: break-word padding: 1em background: darkgoldenrod box-shadow: 0px -2px 8px black diff --git a/app/views/visitors/index.html.haml b/app/views/visitors/index.html.haml index 53b17c60..b59100db 100644 --- a/app/views/visitors/index.html.haml +++ b/app/views/visitors/index.html.haml @@ -4,10 +4,11 @@ - else %h1 Web3 Social Gaming
Crypto Rewards -#doodads - - if current_user.signed_in? - %p= link_to '+ New Doodad', new_doodad_path - = render @doodads +.contain + #doodads + - if current_user.signed_in? + %p= link_to '+ New Doodad', new_doodad_path + = render @doodads -# #canisters = render @canisters