Transparent section

merge-requests/8/head
Bob Mottram 2020-10-28 21:23:48 +00:00
parent 8fced89226
commit 15346eece3
2 changed files with 7 additions and 6 deletions

View File

@ -597,10 +597,11 @@ input[type=number] {
} }
.transparent { .transparent {
color: rgba(0, 0, 0, 0.0); color: transparent;
background: transparent;
font-size: 0px; font-size: 0px;
font-family: Arial, Helvetica, sans-serif; line-height: 0px;
line-height: 0; height: 0px;
} }
.labelsright { .labelsright {

View File

@ -6588,9 +6588,9 @@ def htmlTimeline(defaultTimeline: str,
# This creates a link to the profile page when viewed # This creates a link to the profile page when viewed
# in lynx, but should be invisible in a graphical web browser # in lynx, but should be invisible in a graphical web browser
tlStr += \ tlStr += \
'<label class="transparent">' + \ '<div class="transparent"><label class="transparent">' + \
'<a class="transparent" href="/users/' + nickname + '">' + \ '<a href="/users/' + nickname + '">' + \
translate['Switch to profile view'] + '</a></label>\n' translate['Switch to profile view'] + '</a></label></div>\n'
# banner and row of buttons # banner and row of buttons
tlStr += \ tlStr += \