From 457d1c2590f7a096f8e0daf88b2d67c9db45926c Mon Sep 17 00:00:00 2001 From: b1ek Date: Mon, 20 Feb 2023 15:36:55 +1000 Subject: [PATCH] update guestbook message style --- public/static/ui/gb_ui.css | 9 ++++++++- view/guestbook.pug | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/public/static/ui/gb_ui.css b/public/static/ui/gb_ui.css index 0d8a424..106bac0 100644 --- a/public/static/ui/gb_ui.css +++ b/public/static/ui/gb_ui.css @@ -58,7 +58,14 @@ content: 'Email is hidden'; } - +.gb_entry_message_text { + margin:0; + padding:0; + font-size:10pt; + max-width:800px; + height:300px; + word-wrap:break-word +} /* ui elements */ diff --git a/view/guestbook.pug b/view/guestbook.pug index d1c52d8..3154751 100644 --- a/view/guestbook.pug +++ b/view/guestbook.pug @@ -111,5 +111,5 @@ block content a(href='/guestbook/del/' + entry.id class='gb_record_del_btn' title='you can delete your own messages') delete td(width='80%' class='gb_entry_text') p(class='gb_entry_text_title') Message: - p(style='margin:0;padding:0;font-size:10pt'). + p(class='gb_entry_message_text'). #{entry.text} \ No newline at end of file