Skip to content

Commit 9134af7

Browse files
sestinjclaude
andcommitted
fix: prevent text/logo overlap in OG card
Constrain text content to left 660px so it doesn't collide with the 520px Continue logo on the right. Reduce title to 56px and pill to 15px to fit the longer package name comfortably. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cb50173 commit 9134af7

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/assets/og-card.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
);
3838
}
3939

40-
/* Content — left side */
40+
/* Content — left side, constrained to avoid logo overlap */
4141
.content {
4242
position: relative;
4343
z-index: 1;
44-
width: 100%;
44+
width: 660px;
4545
height: 100%;
4646
display: flex;
4747
flex-direction: column;
@@ -60,10 +60,10 @@
6060
}
6161

6262
h1 {
63-
font-size: 68px;
63+
font-size: 56px;
6464
font-weight: 300;
65-
letter-spacing: -2px;
66-
line-height: 1.05;
65+
letter-spacing: -1.5px;
66+
line-height: 1.1;
6767
color: rgba(255, 255, 255, 0.95);
6868
margin-bottom: 20px;
6969
}
@@ -78,11 +78,11 @@
7878

7979
.pill {
8080
display: inline-block;
81-
padding: 12px 28px;
81+
padding: 10px 22px;
8282
background: rgba(255, 255, 255, 0.08);
8383
border: 1px solid rgba(255, 255, 255, 0.15);
8484
font-family: 'IBM Plex Mono', monospace;
85-
font-size: 17px;
85+
font-size: 15px;
8686
font-weight: 400;
8787
color: rgba(255, 255, 255, 0.7);
8888
letter-spacing: 0.02em;

0 commit comments

Comments
 (0)