Skip to content
Merged
Changes from 3 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
19 changes: 19 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,25 @@ body,
}
}

/* Remove outer border on streamdown wrappers (inner content already has one) */

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove comment that restates selector behavior

The root AGENTS.md rule for this repo says to avoid comments that restate what code does, but this newly added comment is just a plain-language duplicate of the selector plus border: none. Keeping this kind of comment increases drift risk when selectors evolve and violates the documented code-quality standard; remove it (and the similar comment below) or replace with a true "why" rationale.

Useful? React with 👍 / 👎.

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

/* Place code-block language label and actions on the same row */
[data-streamdown="code-block"] {
position: relative;
}

[data-streamdown="code-block"] > [data-streamdown="code-block-header"] + div {
position: absolute;
top: 0.5rem;
right: 0.5rem;
margin-top: 0;
}

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