Extra container

main
Bob Mottram 2020-06-26 14:07:01 +01:00
parent 36994134c2
commit f05e003d27
2 changed files with 11 additions and 5 deletions

View File

@ -661,6 +661,10 @@ div.gallery img {
text-decoration: none; text-decoration: none;
} }
.flex-container {
display: flex;
}
li { list-style:none;} li { list-style:none;}
.msgscope-collapse { position: relative; } .msgscope-collapse { position: relative; }
.nav { width: 150px; } .nav { width: 150px; }

View File

@ -2050,18 +2050,20 @@ def htmlNewPost(mediaInstance: bool, translate: {},
newPostForm += \ newPostForm += \
'<form enctype="multipart/form-data" method="POST" ' + \ '<form enctype="multipart/form-data" method="POST" ' + \
'accept-charset="UTF-8" action="' + \ 'accept-charset="UTF-8" action="' + \
path + '?' + endpoint + '?page=' + str(pageNumber) + '">' path + '?' + endpoint + '?page=' + str(pageNumber) + '">\n'
newPostForm += ' <div class="vertical-center">' newPostForm += ' <div class="vertical-center">\n'
newPostForm += \ newPostForm += \
' <label for="nickname"><b>' + newPostText + '</b></label>' ' <label for="nickname"><b>' + newPostText + '</b></label>\n'
newPostForm += ' <div class="container">\n' newPostForm += ' <div class="container">\n'
newPostForm += ' <div class="flex-container">\n'
newPostForm += dropDownContent newPostForm += dropDownContent
newPostForm += \ newPostForm += \
' <a href="' + pathBase + \ ' <div><a href="' + pathBase + \
'/searchemoji"><img loading="lazy" class="emojisearch" ' + \ '/searchemoji"><img loading="lazy" class="emojisearch" ' + \
'src="/emoji/1F601.png" title="' + \ 'src="/emoji/1F601.png" title="' + \
translate['Search for emoji'] + '" alt="' + \ translate['Search for emoji'] + '" alt="' + \
translate['Search for emoji'] + '"/></a>\n' translate['Search for emoji'] + '"/></a></div>\n'
newPostForm += ' </div>\n'
newPostForm += ' </div>\n' newPostForm += ' </div>\n'
newPostForm += ' <div class="container"><center>\n' newPostForm += ' <div class="container"><center>\n'
newPostForm += \ newPostForm += \