Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix([issue-1183]): keep the TikTok embed a true 9:16 box at any viewport height

[._.]/ Adam Eivy54a084a4d6dd
diff --git a/client/src/pages/SongEditor.jsx b/client/src/pages/SongEditor.jsx
index ff22bc9344..773e2af742 100644
--- a/client/src/pages/SongEditor.jsx
+++ b/client/src/pages/SongEditor.jsx
@@ -1117,11 +1117,11 @@ function ReferenceCard({ reference }) {
const safeHref = isHttpUrl(reference.url);
if (ttId) {
return (
- <div className="w-full sm:w-80 lg:w-96 space-y-2">
+ <div className="w-full sm:w-80 lg:w-96 max-w-[45vh] space-y-2">
<iframe
title={title}
src={tiktokEmbedSrc(ttId)}
- className="w-full aspect-[9/16] max-h-[80vh] rounded-lg border border-port-border bg-port-card"
+ className="w-full aspect-[9/16] rounded-lg border border-port-border bg-port-card"
loading="lazy"
allow="encrypted-media; fullscreen"
referrerPolicy="strict-origin-when-cross-origin"