Skip to content

Commit 3d31001

Browse files
committed
fixes
1 parent 591e697 commit 3d31001

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

apps/web/components/markdown-editor.tsx

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const componentSocialMapping = {
1515
instagramPost: {
1616
width: 1080 / 2,
1717
height: 1080 / 2,
18-
innerPaddingY: 1080 / 10,
18+
innerPaddingY:50,
1919
scale: 1,
2020
},
2121
instagramStory: {
@@ -25,46 +25,46 @@ const componentSocialMapping = {
2525
scale: 1,
2626
},
2727
twitterPost: {
28-
width: 1200 / 2,
29-
height: 675 / 2,
30-
innerPaddingY: 0,
31-
scale: 0.7,
28+
width: 1200 / 1.5,
29+
height: 675 / 1.5,
30+
innerPaddingY: 1,
31+
scale: 0.8,
3232
},
3333
twitterHeader: {
34-
width: (1500 / 2) * 1.2,
35-
height: (500 / 2) * 1.2,
36-
innerPaddingY: 0,
37-
scale: 0.7,
34+
width: 1500,
35+
height: 500,
36+
innerPaddingY: 50,
37+
scale: 1,
3838
},
3939
facebookPost: {
40-
width: (1200 / 2) * 1.3,
41-
height: (630 / 2) * 1.3,
42-
innerPaddingY: 630 / 10,
40+
width: 1200 / 1,
41+
height: 630 / 1,
42+
innerPaddingY:100,
4343
scale: 1,
4444
},
4545
facebookCover: {
4646
width: 820,
4747
height: 312,
48-
innerPaddingY: 312 / 10,
49-
scale: 0.7,
48+
innerPaddingY: 50,
49+
scale: 0.9,
5050
},
5151
dribbleShot: {
52-
width: (800 / 2) * 1.5,
53-
height: (600 / 2) * 1.5,
52+
width: (800 / 1.3),
53+
height: (600 / 1.3),
5454
innerPaddingY: 600 / 10,
5555
scale: 1,
5656
},
5757
linkedinPost: {
58-
width: 1200 / 1.5,
59-
height: 627 / 1.5,
58+
width: 1200 / 1.3,
59+
height: 627 / 1.3,
6060
innerPaddingY: 627 / 10,
6161
scale: 1,
6262
},
6363
linkedinCover: {
64-
width: 1584 / 1.5,
65-
height: 396 / 1.5,
66-
innerPaddingY: 10,
67-
scale: 0.5,
64+
width: 1584 / 1.1,
65+
height: 396 / 1.1,
66+
innerPaddingY: 50,
67+
scale: 0.9,
6868
},
6969
};
7070

0 commit comments

Comments
 (0)