Skip to content

Commit 510830d

Browse files
committed
Merge branch 'feat/dashboard-agent-flows-watch' into feat/agent-storybook-gallery
2 parents 5491ffc + de187d4 commit 510830d

1 file changed

Lines changed: 4 additions & 17 deletions

File tree

apps/webapp/app/tailwind.css

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -658,12 +658,9 @@
658658
--sidebar: var(--color-background-dimmed);
659659

660660
/* Code block styling */
661-
& [data-code-block-container] {
661+
& [data-streamdown="code-block"] {
662662
@apply rounded-sm my-2 border-charcoal-700;
663663
}
664-
& [data-code-block] {
665-
border-top: none;
666-
}
667664

668665
& p {
669666
@apply my-1;
@@ -733,19 +730,9 @@
733730
background-color: var(--muted);
734731
}
735732

736-
& [data-code-block-header] {
737-
@apply bg-charcoal-800 text-text-dimmed border-b border-charcoal-700;
738-
}
739-
/* Override the bg-muted/40 class to let inline styles work */
740-
& [data-code-block] pre {
741-
background-color: inherit !important;
742-
@apply scrollbar-thin scrollbar-track-transparent scrollbar-thumb-charcoal-600;
743-
}
744-
& [data-code-block] pre code {
745-
@apply bg-transparent text-xs;
746-
}
747-
& [data-code-block] .line {
748-
@apply leading-relaxed;
733+
/* The body scrolls and sizes the code; streamdown ships it at text-sm. */
734+
& [data-streamdown="code-block-body"] {
735+
@apply text-xs leading-relaxed scrollbar-thin scrollbar-track-transparent scrollbar-thumb-charcoal-600;
749736
}
750737
}
751738

0 commit comments

Comments
 (0)