update guestbook message styles

This commit is contained in:
b1ek 2023-02-20 15:40:18 +10:00
parent 457d1c2590
commit 4a601c99c4
2 changed files with 8 additions and 7 deletions

View File

@ -59,12 +59,13 @@
}
.gb_entry_message_text {
margin:0;
padding:0;
font-size:10pt;
max-width:800px;
height:300px;
word-wrap:break-word
margin: 0;
padding: 10px;
font-size: 10pt;
max-width: 60vw;
max-height: 256px;
word-wrap: break-word;
overflow-y: scroll;
}
/* ui elements */

View File

@ -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(class='gb_entry_message_text').
pre(class='gb_entry_message_text').
#{entry.text}