body { margin: 0; font-family: -apple-system, "PingFang SC", sans-serif; } .clip-ancestor { overflow: hidden; contain: content; isolation: isolate; height: 64px; border: 1px dashed #bbb; } .case { display: flex; gap: 12px; align-items: flex-start; }