diff --git a/epicyon-profile.css b/epicyon-profile.css index dcc33192..a15e79e3 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -255,12 +255,10 @@ input[type=submit]:hover { } .vertical-center { - top: 50%; - -ms-transform: translateY(50%); - transform: translateY(50%); max-width: 90%; min-width: 600px; margin: 0 auto; + padding: 10% 0px; } .dropbtn { diff --git a/webinterface.py b/webinterface.py index b927b7cc..bf6ec4d4 100644 --- a/webinterface.py +++ b/webinterface.py @@ -89,6 +89,7 @@ def htmlNewPost(baseDir: str,path: str) -> str: scopeDescription='Public' placeholderSubject='Subject or Content Warning (optional)...' placeholderMessage='Write something...' + extraFields='' if path.endswith('/newunlisted'): scopeIcon='scope_unlisted.png' scopeDescription='Unlisted' @@ -103,7 +104,11 @@ def htmlNewPost(baseDir: str,path: str) -> str: scopeDescription='Shared Item' placeholderSubject='Name of the shared item...' placeholderMessage='Description of the item being shared...' - + extraFields= \ + '' \ + '' \ + '' + newPostForm=htmlHeader(newPostCSS) newPostForm+= \ '
' \ @@ -112,7 +117,7 @@ def htmlNewPost(baseDir: str,path: str) -> str: ' ' \ '' \ ' ' \ - '' \ + ''+extraFields+ \ '
' \ ' ' \ ' ' \