mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
fix: remove double border on content in chat (#8545)
Signed-off-by: Matt Toohey <contact@matttoohey.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
═══════════════════════════════════════════════════════════ */
|
||||
|
||||
Reference in New Issue
Block a user