New post header column widths

alt-html-css
Bob Mottram 2020-12-21 14:55:24 +00:00
parent ca53d2521e
commit 08227dac51
2 changed files with 12 additions and 2 deletions

View File

@ -704,7 +704,7 @@ input[type=submit] {
cursor: pointer;
font-size: var(--font-size-header);
font-family: Arial, Helvetica, sans-serif;
width: 120px;
width: 8ch;
}
.loginButton {

View File

@ -644,7 +644,17 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
newPostForm += \
' <label for="nickname"><b>' + newPostText + '</b></label>\n'
newPostForm += ' <div class="containerNewPost">\n'
newPostForm += ' <table style="width:100%" border="0"><tr>\n'
newPostForm += ' <table style="width:100%" border="0">\n'
newPostForm += ' <colgroup>\n'
newPostForm += ' <col span="1" style="width:50%">\n'
newPostForm += ' <col span="1" style="width:10%">\n'
if newswire and path.endswith('/newblog'):
newPostForm += ' <col span="1" style="width:20%">\n'
newPostForm += ' <col span="1" style="width:20%">\n'
else:
newPostForm += ' <col span="1" style="width:40%">\n'
newPostForm += ' </colgroup>\n'
newPostForm += '<tr>\n'
newPostForm += '<td>' + dropDownContent + '</td>\n'
newPostForm += \