Skip to content

Commit 78d4b48

Browse files
committed
fix siteUrl responsive limit
1 parent 45efd8c commit 78d4b48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libs/api/open-graph/template-html.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ export interface TemplateProps {
1212

1313
const templateHtml = ({ title, heroImageUrl, avatarImageUrl, siteUrl }: TemplateProps) => {
1414
// 2 rows - max 30 chars
15-
// 1 row - max 18 chars
16-
const isLongSiteUrl = siteUrl.length > 17;
15+
// 1 row - max 20 chars, max that fits - 12nemanjam.github.io
16+
const isLongSiteUrl = siteUrl.length > 20;
1717

1818
// max 6 rows x 10-15 chars
1919
const limitedTitle = limitString(title, 70);

0 commit comments

Comments
 (0)