Skip to content

Commit c4a5494

Browse files
Clean up X embed framing
1 parent c5665cf commit c4a5494

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

index.html

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,25 @@
446446

447447
.x-card:hover { transform: translateY(-2px); border-color: rgba(9,239,226,.68); background: var(--panel-2); }
448448
.x-label { display: flex; justify-content: space-between; gap: 12px; color: var(--hot-2); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: lowercase; margin-bottom: 12px; }
449-
.tweet-shell { display: grid; place-items: center; min-width: 0; }
449+
.tweet-shell {
450+
display: grid;
451+
place-items: center;
452+
min-width: 0;
453+
max-width: 552px;
454+
margin: 0 auto;
455+
overflow: hidden;
456+
background: #04070a;
457+
border: 1px solid rgba(9,239,226,.18);
458+
box-shadow: inset 0 0 0 1px rgba(4,7,10,.96), 0 0 36px rgba(9,239,226,.10);
459+
}
450460
.tweet-shell .twitter-tweet { margin: 0 auto !important; }
461+
.tweet-shell iframe {
462+
display: block !important;
463+
border: 0 !important;
464+
background: #04070a !important;
465+
transform: scale(1.012);
466+
transform-origin: center;
467+
}
451468

452469
.x-quote {
453470
border: 1px solid rgba(160,166,207,.22);

0 commit comments

Comments
 (0)