@@ -49,7 +49,7 @@ func innerFrame() *BuiltinLayout {
4949 logoHTML := ""
5050 if safeLogo != "" {
5151 logoHTML = fmt .Sprintf (`<img src="%s" alt="logo" style="position:absolute;bottom:%dpx;left:%dpx;height:%dpx;max-width:%dpx;object-fit:contain;z-index:3;" crossorigin="anonymous" onerror="this.style.display='none'" />` ,
52- safeLogo , r (20 ), r (30 ), r (120 ), int (math .Round (float64 (w )* 0.22 )))
52+ safeLogo , r (25 ), r (30 ), r (110 ), int (math .Round (float64 (w )* 0.22 )))
5353 }
5454
5555 // Phone icon + text — center of the bar
@@ -72,12 +72,12 @@ func innerFrame() *BuiltinLayout {
7272 contactHTML := ""
7373 if phoneHTML != "" || webHTML != "" {
7474 // Use a 3-column grid: empty left (logo space) | phone center | website right
75- contactHTML = fmt .Sprintf (`<div style="position:absolute;bottom:0;left:0;right:0;height:%dpx;display:grid;grid-template-columns:%dpx 1fr auto;align-items:center;align-content:end;padding-bottom:%dpx; z-index:3;color:#FFFFFF;font-family:'TikTok Sans','Be Vietnam Pro',sans-serif;font-size:%dpx;font-weight:600;">
75+ contactHTML = fmt .Sprintf (`<div style="position:absolute;bottom:0;left:0;right:0;height:%dpx;display:grid;grid-template-columns:%dpx 1fr auto;align-items:center;z-index:3;color:#FFFFFF;font-family:'TikTok Sans','Be Vietnam Pro',sans-serif;font-size:%dpx;font-weight:600;">
7676 <div></div>
7777 <div style="display:flex;justify-content:center;">%s</div>
7878 <div style="padding-right:%dpx;">%s</div>
7979</div>` ,
80- r (200 ), int (math .Round (float64 (w )* 0.25 )), r ( 30 ), r (22 ), phoneHTML , r (30 ), webHTML )
80+ r (160 ), int (math .Round (float64 (w )* 0.25 )), r (22 ), phoneHTML , r (30 ), webHTML )
8181 }
8282
8383 return fmt .Sprintf (`<div id="thumbnail" style="position:relative;width:%dpx;height:%dpx;overflow:hidden;">
0 commit comments