web: Break long stream names to fin in div

This commit is contained in:
Alex Vanin 2022-02-06 14:31:05 +03:00
parent e322994842
commit a2c4582a0c
3 changed files with 3 additions and 1 deletions

View file

@ -90,7 +90,7 @@ class FleastServer(object):
s['thumbnail_url'].format(width=320, height=180), s['thumbnail_url'].format(width=320, height=180),
self.to_html(s['title']), self.to_html(s['title']),
s['user_name'], s['user_name'],
s['viewer_count']) + '\n' s['viewer_count'])
return self.templ_main.format(_stream_num_=len(data['streams']), return self.templ_main.format(_stream_num_=len(data['streams']),
_game_name_=game, _game_name_=game,

View file

@ -22,6 +22,7 @@
.strname {{ .strname {{
font-weight: bold; font-weight: bold;
word-break: break-word;
}} }}
.struser {{ .struser {{

View file

@ -22,6 +22,7 @@
.strname {{ .strname {{
font-weight: bold; font-weight: bold;
word-break: break-word;
}} }}
.struser {{ .struser {{