Improved cropping
This commit is contained in:
Generated
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user