Links icon display

merge-requests/8/head
Bob Mottram 2020-10-11 23:31:04 +01:00
parent b4c12e0415
commit a33c918936
2 changed files with 7 additions and 1 deletions

View File

@ -998,6 +998,9 @@ aside .toggle-inside li {
font-size: var(--font-size); font-size: var(--font-size);
line-height: var(--line-spacing); line-height: var(--line-spacing);
} }
.imageAnchorMobile img{
display: none;
}
.timeline-banner { .timeline-banner {
background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), url("banner.png"); background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), url("banner.png");
height: 15%; height: 15%;
@ -1544,6 +1547,9 @@ aside .toggle-inside li {
font-size: var(--font-size); font-size: var(--font-size);
line-height: var(--line-spacing); line-height: var(--line-spacing);
} }
.imageAnchorMobile img{
display: inline;
}
.timeline-banner { .timeline-banner {
background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), url("banner.png"); background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), url("banner.png");
height: 6%; height: 6%;

View File

@ -6144,7 +6144,7 @@ def htmlTimeline(defaultTimeline: str,
# the links button to show left column links # the links button to show left column links
tlStr += \ tlStr += \
' <a class="imageAnchor" href="' + usersPath + '/links' + \ ' <a class="imageAnchorMobile" href="' + usersPath + '/links' + \
'"><img loading="lazy" src="/' + iconsDir + \ '"><img loading="lazy" src="/' + iconsDir + \
'/links.png" title="' + translate['Edit Links'] + \ '/links.png" title="' + translate['Edit Links'] + \
'" alt="| ' + translate['Edit Links'] + \ '" alt="| ' + translate['Edit Links'] + \