chence-heygen commited on
Commit
b5a07ae
·
unverified ·
1 Parent(s): d0d66cf

Lay the title and logo out with flexbox instead of a heading

Browse files

The logo ended up on the badge row, which means this renderer closed the h1 before the image and
left it as a following sibling for the float to catch. Collapsing the markup to one line did not
change that, so the heading itself is the constraint: it will not keep an image inside it.

A flex container sidesteps it. The row is guaranteed, space-between puts the title left and the
logo right, and align-items centres them vertically, which the float never did. The title is a
styled span rather than an h1 for the same reason the image could not stay in one; the model page
already shows the repository name as its own title.

Inline style only, which this renderer preserves. GitHub is untouched and still uses align and
height attributes.

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -11,7 +11,7 @@ tags:
11
  - Video Processing
12
  ---
13
 
14
- <h1 align="left">TransVLM <img src="https://huggingface.co/HeyGenAI/TransVLM-Qwen3-VL-4B-Instruct/resolve/main/assets/heygen-logo-black.png" alt="HeyGen Research" style="display:inline-block;vertical-align:middle;float:right;height:44px"></h1>
15
 
16
  <p align="center">
17
  <a href="https://arxiv.org/abs/2604.27975"><img src="https://img.shields.io/badge/arXiv-2604.27975-b31b1b.svg" alt="arXiv"></a>
 
11
  - Video Processing
12
  ---
13
 
14
+ <div style="display:flex;align-items:center;justify-content:space-between;gap:16px"><span style="font-size:2em;font-weight:600;line-height:1.25">TransVLM</span><img src="https://huggingface.co/HeyGenAI/TransVLM-Qwen3-VL-4B-Instruct/resolve/main/assets/heygen-logo-black.png" alt="HeyGen Research" style="height:44px;flex:none"></div>
15
 
16
  <p align="center">
17
  <a href="https://arxiv.org/abs/2604.27975"><img src="https://img.shields.io/badge/arXiv-2604.27975-b31b1b.svg" alt="arXiv"></a>