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;
|
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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue