From 7b76f63ed8a572fbca95c35f70c352ee6ed535fb Mon Sep 17 00:00:00 2001 From: crunk Date: Fri, 14 Jun 2024 23:36:22 +0200 Subject: [PATCH] increased the character limit to 32000 based on current Varia website description lenghts --- verse/distribusikan/forms/uploadform.py | 2 +- verse/static/css/style.css | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/verse/distribusikan/forms/uploadform.py b/verse/distribusikan/forms/uploadform.py index 994952b..8bec973 100644 --- a/verse/distribusikan/forms/uploadform.py +++ b/verse/distribusikan/forms/uploadform.py @@ -53,7 +53,7 @@ class UploadForm(FlaskForm): description = StringField( "Description of this distribusi:", validators=[ - Length(10, 4096), + Length(10, 32000), ], widget=TextArea(), ) diff --git a/verse/static/css/style.css b/verse/static/css/style.css index b2bab63..d5f8f68 100644 --- a/verse/static/css/style.css +++ b/verse/static/css/style.css @@ -35,7 +35,6 @@ input[type=text], input[type=password], input[type=file] { .workflow{ margin-top: 1em; padding: 0.5em; - width: 31em; background-color:#fdfdfd; text-decoration: none; scroll-behavior: smooth; @@ -54,7 +53,7 @@ input[type=text], input[type=password], input[type=file] { #mainworkflow { - width: 30em; + width: 40em; margin:0 auto; } @@ -66,7 +65,7 @@ input[type=text], input[type=password], input[type=file] { } textarea#description { width: 100%; - height: 15em; + height: 20em; resize: none; } div#buttons{