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 {
color: rgba(0, 0, 0, 0.0);
color: transparent;
background: transparent;
font-size: 0px;
font-family: Arial, Helvetica, sans-serif;
line-height: 0;
line-height: 0px;
height: 0px;
}
.labelsright {

View File

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