Skip to content

Commit

Permalink
fix biowetter symbol height #67
Browse files Browse the repository at this point in the history
  • Loading branch information
roe-dl committed Jul 31, 2024
1 parent 78aa6fd commit 22a10a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/user/weatherserviceshealth.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def write_html(self, tabtimespans, area_name, last_update, now):
if self.model=='biowetter':
s += '<ul style="list-style:none;width:100%;padding:0;margin-left:-1em;margin-bottom:auto">'
for ii in ('Legende:','hohe Gefährdung','geringe Gefährdung','kein Einfluss','positiver Einfluss'):
sym = symbol(ii,20)
sym = symbol(ii,self.plusminus_icon_size)
txt = ii if sym==ii else '%s&nbsp;%s' % (sym,ii)
s += '<li style="display:inline-block;padding-left:1em;padding-right:1em">%s</li>' % txt
s += '</ul>'
Expand Down

0 comments on commit 22a10a6

Please sign in to comment.