Browse Source

increased the character limit to 32000 based on current Varia website description lenghts

pull/12/head
crunk 6 months ago
parent
commit
7b76f63ed8
  1. 2
      verse/distribusikan/forms/uploadform.py
  2. 5
      verse/static/css/style.css

2
verse/distribusikan/forms/uploadform.py

@ -53,7 +53,7 @@ class UploadForm(FlaskForm):
description = StringField( description = StringField(
"Description of this distribusi:", "Description of this distribusi:",
validators=[ validators=[
Length(10, 4096), Length(10, 32000),
], ],
widget=TextArea(), widget=TextArea(),
) )

5
verse/static/css/style.css

@ -35,7 +35,6 @@ input[type=text], input[type=password], input[type=file] {
.workflow{ .workflow{
margin-top: 1em; margin-top: 1em;
padding: 0.5em; padding: 0.5em;
width: 31em;
background-color:#fdfdfd; background-color:#fdfdfd;
text-decoration: none; text-decoration: none;
scroll-behavior: smooth; scroll-behavior: smooth;
@ -54,7 +53,7 @@ input[type=text], input[type=password], input[type=file] {
#mainworkflow #mainworkflow
{ {
width: 30em; width: 40em;
margin:0 auto; margin:0 auto;
} }
@ -66,7 +65,7 @@ input[type=text], input[type=password], input[type=file] {
} }
textarea#description { textarea#description {
width: 100%; width: 100%;
height: 15em; height: 20em;
resize: none; resize: none;
} }
div#buttons{ div#buttons{

Loading…
Cancel
Save