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:
parent
8602c34825
commit
e46c61828d
|
@ -94,7 +94,9 @@ const videoLink = (url, video) => htmlToElement(`
|
|||
align-items: center;
|
||||
text-decoration: none;"
|
||||
href=${url}>
|
||||
<img src="${thumbnailURL(video.account.host, video.thumbnailPath)}">
|
||||
<img
|
||||
style="height: 110px;"
|
||||
src="${thumbnailURL(video.account.host, video.thumbnailPath)}">
|
||||
<div style="
|
||||
font-size: 18px;
|
||||
margin-left: 1rem;
|
||||
|
|
|
@ -95,7 +95,9 @@ const videoLink = (url, video) => htmlToElement(`
|
|||
align-items: center;
|
||||
text-decoration: none;"
|
||||
href=${url}>
|
||||
<img src="${thumbnailURL(video.account.host, video.thumbnailPath)}">
|
||||
<img
|
||||
style="height: 110px;"
|
||||
src="${thumbnailURL(video.account.host, video.thumbnailPath)}">
|
||||
<div style="
|
||||
font-size: 18px;
|
||||
margin-left: 1rem;
|
||||
|
|
Loading…
Reference in New Issue