Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions frontend/app/block/block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,20 @@
}
}

// Durable shell blocks (useTermHeader) render frame:title as
// a direct child of block-frame-default-header, outside
// block-frame-default-header-iconview, so it needs its own
// copy of the shrink/truncate rules rather than reusing
// block-frame-view-type - that class only has an effect
// nested under the iconview wrapper above.
.block-frame-durable-title {
overflow-x: hidden;
text-wrap: nowrap;
text-overflow: ellipsis;
flex-shrink: 1;
min-width: 0;
}

.block-frame-text {
font: var(--fixed-font);
font-size: 11px;
Expand Down
5 changes: 5 additions & 0 deletions frontend/app/block/blockframe-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ const BlockFrame_Header = ({
isTerminalBlock={isTerminalBlock}
/>
)}
{useTermHeader && metaFrameTitle && (
<div className="block-frame-durable-title" key="frame-title">
{metaFrameTitle}
</div>
Comment thread
andrewinalaska marked this conversation as resolved.
)}
{useTermHeader && termConfigedDurable != null && (
<DurableSessionFlyover
key="durable-status"
Expand Down