Improved cropping

This commit is contained in:
WardPearce
2026-02-12 18:18:00 +13:00
parent a256824136
commit d33b4e4fd7
3 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "Materialious",
"version": "1.14.0",
"version": "1.14.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "Materialious",
"version": "1.14.0",
"version": "1.14.1",
"license": "MIT",
"dependencies": {
"@capacitor-community/electron": "^5.0.0",
@@ -182,6 +182,8 @@ export async function getVideoYTjs(videoId: string): Promise<VideoPlay> {
)
?.as(YTNodes.ThumbnailOverlayBadgeView);
console.log(recommended);
recommendedVideos.push({
videoThumbnails: (recommended?.content_image.image as Thumbnail[]) || [],
videoId: recommended.content_id,
@@ -270,10 +270,10 @@
width: 100%;
height: 100%;
object-fit: cover;
clip-path: inset(40px 0 40px 0);
clip-path: inset(10% 0 10% 0);
display: block;
transform: translateY(-40px);
margin-bottom: -80px;
transform: translateY(-15%);
margin-bottom: -20%;
}
.thumbnail {