Increase message size and use wrapping for message dispaly
This commit is contained in:
parent
fe583cc8b2
commit
2af783940a
|
@ -102,7 +102,7 @@ article {
|
|||
article .message.field {
|
||||
font-family: cursive;
|
||||
margin-bottom: 0em;
|
||||
white-space: pre;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
article h3 {
|
||||
|
|
|
@ -112,7 +112,7 @@ app->secrets(app->config->{'secrets'}) || die $@;
|
|||
app->message->max_posts(app->config->{'max_posts'})
|
||||
if app->config->{'max_posts'};
|
||||
|
||||
app->pg->migrations->from_dir('migrations')->migrate(6);
|
||||
app->pg->migrations->from_dir('migrations')->migrate(7);
|
||||
|
||||
app->asset->store->paths(['assets']);
|
||||
app->asset->process('swagg.css', 'css/swagg.css');
|
||||
|
|
2
migrations/7/down.sql
Normal file
2
migrations/7/down.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE messages
|
||||
ALTER COLUMN message TYPE VARCHAR(512);
|
2
migrations/7/up.sql
Normal file
2
migrations/7/up.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE messages
|
||||
ALTER COLUMN message TYPE VARCHAR(2048);
|
Loading…
Reference in a new issue