From 8d89ff9cc0424b9f2654fce1a85016bb2128a7f3 Mon Sep 17 00:00:00 2001 From: "Jesse C. Fisher" Date: Wed, 8 Nov 2023 07:12:52 +0000 Subject: [PATCH] Style profile show --- app/views/profiles/show.html.haml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/profiles/show.html.haml b/app/views/profiles/show.html.haml index 04b88ca3..3c7e1e70 100644 --- a/app/views/profiles/show.html.haml +++ b/app/views/profiles/show.html.haml @@ -1,3 +1,6 @@ +:css + #content { padding-top: 3em; } + - if policy(@profile).edit? .contain = link_to 'Edit', edit_profile_path(@profile) @@ -23,5 +26,5 @@ %h2 About #{@profile.name} .about - = @profile.about + %p= @profile.about