Edit screen header style

alt-html-css
Bob Mottram 2020-12-21 15:40:55 +00:00
parent fd64616964
commit 5a28a3b222
3 changed files with 7 additions and 2 deletions

View File

@ -474,6 +474,11 @@ a:focus {
margin: var(--vertical-between-posts); margin: var(--vertical-between-posts);
} }
.editColumnHeader {
float: right;
min-width: 10ch;
}
.media { .media {
width: 80%; width: 80%;
border-radius: 5px; border-radius: 5px;

View File

@ -337,7 +337,7 @@ def htmlEditLinks(cssCache: {}, translate: {}, baseDir: str, path: str,
editLinksForm += \ editLinksForm += \
' <h1>' + translate['Edit Links'] + '</h1>' ' <h1>' + translate['Edit Links'] + '</h1>'
editLinksForm += \ editLinksForm += \
' <div class="containerNewPost">\n' ' <div class="editColumnHeader">\n'
editLinksForm += \ editLinksForm += \
' <input type="submit" name="submitLinks" value="' + \ ' <input type="submit" name="submitLinks" value="' + \
translate['Submit'] + '">\n' translate['Submit'] + '">\n'

View File

@ -500,7 +500,7 @@ def htmlEditNewswire(cssCache: {}, translate: {}, baseDir: str, path: str,
editNewswireForm += \ editNewswireForm += \
' <h1>' + translate['Edit newswire'] + '</h1>' ' <h1>' + translate['Edit newswire'] + '</h1>'
editNewswireForm += \ editNewswireForm += \
' <div style="float:right;width:10ch">\n' ' <div class="editColumnHeader">\n'
editNewswireForm += \ editNewswireForm += \
' <input type="submit" name="submitNewswire" value="' + \ ' <input type="submit" name="submitNewswire" value="' + \
translate['Submit'] + '">\n' translate['Submit'] + '">\n'