Skip to content
Merged
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
28 changes: 28 additions & 0 deletions ui/goose2/src/shared/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,34 @@ body,
}
}

[data-streamdown="table-wrapper"],
[data-streamdown="code-block"],
[data-streamdown="mermaid-block"] {
border: none;
}

/* Doubled attribute selector bumps specificity above Tailwind's `flex` class
(0,2,0 vs 0,1,0) so grid wins regardless of source order. */
[data-streamdown="code-block"][data-streamdown] {
display: grid;
grid-template-columns: 1fr auto;
}

[data-streamdown="code-block"] > [data-streamdown="code-block-header"] {
grid-column: 1;
}

[data-streamdown="code-block"]
> [data-streamdown="code-block-header"]
+ div:has([data-streamdown="code-block-actions"]) {
grid-column: 2;
margin-top: 0;
}

[data-streamdown="code-block"] > :last-child {
grid-column: 1 / -1;
}

/* ═══════════════════════════════════════════════════════════
goose2 custom utilities
═══════════════════════════════════════════════════════════ */
Expand Down
Loading