diff options
| author | Dax <[email protected]> | 2025-07-07 15:53:43 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-07 15:53:43 -0400 |
| commit | f884766445bbf1fbce11f1db4bc6174e72d9baa5 (patch) | |
| tree | e7d9e7b3d8efc8bed249f9d29e2d8fb838a275f2 /packages/web/src/components/markdownview.module.css | |
| parent | 76b2e4539cb97bae5812ed2d832ce49d02e70c64 (diff) | |
| download | opencode-f884766445bbf1fbce11f1db4bc6174e72d9baa5.tar.gz opencode-f884766445bbf1fbce11f1db4bc6174e72d9baa5.zip | |
v2 message format and upgrade to ai sdk v5 (#743)
Co-authored-by: GitHub Action <[email protected]>
Co-authored-by: Liang-Shih Lin <[email protected]>
Co-authored-by: Dominik Engelhardt <[email protected]>
Co-authored-by: Jay V <[email protected]>
Co-authored-by: adamdottv <[email protected]>
Diffstat (limited to 'packages/web/src/components/markdownview.module.css')
| -rw-r--r-- | packages/web/src/components/markdownview.module.css | 106 |
1 files changed, 0 insertions, 106 deletions
diff --git a/packages/web/src/components/markdownview.module.css b/packages/web/src/components/markdownview.module.css deleted file mode 100644 index 9524c5cd7..000000000 --- a/packages/web/src/components/markdownview.module.css +++ /dev/null @@ -1,106 +0,0 @@ -.markdown-body { - font-size: 0.875rem; - line-height: 1.5; - - p, - blockquote, - ul, - ol, - dl, - table, - pre { - margin-bottom: 1rem; - } - - strong { - font-weight: 600; - } - - ol { - list-style-position: inside; - padding-left: 0.75rem; - } - ul { - padding-left: 1.5rem; - } - - h1, - h2, - h3, - h4, - h5, - h6 { - font-size: 0.875rem; - font-weight: 600; - margin-bottom: 0.5rem; - } - - & > *:last-child { - margin-bottom: 0; - } - - pre { - --shiki-dark-bg: var(--sl-color-bg-surface) !important; - background-color: var(--sl-color-bg-surface) !important; - padding: 0.5rem 0.75rem; - line-height: 1.6; - font-size: 0.75rem; - white-space: pre-wrap; - word-break: break-word; - - span { - white-space: break-spaces; - } - } - - code { - font-weight: 500; - - &:not(pre code) { - &::before { - content: "`"; - font-weight: 700; - } - &::after { - content: "`"; - font-weight: 700; - } - } - } - - table { - border-collapse: collapse; - width: 100%; - } - - th, - td { - border: 1px solid var(--sl-color-border); - padding: 0.5rem 0.75rem; - text-align: left; - } - - th { - border-bottom: 1px solid var(--sl-color-border); - } - - /* Remove outer borders */ - table tr:first-child th, - table tr:first-child td { - border-top: none; - } - - table tr:last-child td { - border-bottom: none; - } - - table th:first-child, - table td:first-child { - border-left: none; - } - - table th:last-child, - table td:last-child { - border-right: none; - } -} |
