Specify thumbnail height in banner

It appears some videos have a *big* thumbnail, which made the banner a big mess
hiding all the page.
This commit is contained in:
Ealhad 2018-11-04 09:14:45 +01:00
parent 8602c34825
commit e46c61828d
2 changed files with 6 additions and 2 deletions

View File

@ -94,7 +94,9 @@ const videoLink = (url, video) => htmlToElement(`
align-items: center; align-items: center;
text-decoration: none;" text-decoration: none;"
href=${url}> href=${url}>
<img src="${thumbnailURL(video.account.host, video.thumbnailPath)}"> <img
style="height: 110px;"
src="${thumbnailURL(video.account.host, video.thumbnailPath)}">
<div style=" <div style="
font-size: 18px; font-size: 18px;
margin-left: 1rem; margin-left: 1rem;

View File

@ -95,7 +95,9 @@ const videoLink = (url, video) => htmlToElement(`
align-items: center; align-items: center;
text-decoration: none;" text-decoration: none;"
href=${url}> href=${url}>
<img src="${thumbnailURL(video.account.host, video.thumbnailPath)}"> <img
style="height: 110px;"
src="${thumbnailURL(video.account.host, video.thumbnailPath)}">
<div style=" <div style="
font-size: 18px; font-size: 18px;
margin-left: 1rem; margin-left: 1rem;