Size of edit icon

merge-requests/8/head
Bob Mottram 2020-10-01 21:22:44 +01:00
parent 84a3baddc9
commit 8a70c701ee
2 changed files with 7 additions and 19 deletions

View File

@ -131,23 +131,6 @@ a, u {
color: var(--main-fg-color);
}
.editLinksBtn {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
border: none;
color: var(--button-text);
text-align: center;
font-size: var(--font-size-header);
font-family: Arial, Helvetica, sans-serif;
padding: var(--button-height-padding);
width: 90%;
max-width: 200px;
min-width: 10ch;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
}
a:visited{
color: var(--main-visited-color);
background: var(--link-bg-color);
@ -961,6 +944,9 @@ aside .toggle-inside li {
float: left;
width: var(--column-left-width);
}
.col-left img {
width: 20%;
}
.col-center {
width: var(--column-center-width);
}

View File

@ -5154,10 +5154,12 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
if moderator:
htmlStr += \
' <center>\n' + \
' <a class="editLinksIcon" href="' + \
' <a href="' + \
httpPrefix + '://' + domainFull + \
'/users/' + nickname + '/editlinks' + '">' + \
'<img loading="lazy" alt="" title="" src="/' + \
'<img loading="lazy" alt="' + \
translate['Edit Links'] + '" title="' + \
translate['Edit Links'] + '" src="/' + \
iconsDir + '/edit.png" /></a>\n' + \
' </center>\n'