mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-30 06:04:20 +01:00
ignore: fix typos and formatting (#294)
This commit is contained in:
@@ -444,7 +444,7 @@ function MarkdownPart(props: MarkdownPartProps) {
|
||||
{...rest}
|
||||
>
|
||||
<MarkdownView
|
||||
data-elment-markdown
|
||||
data-element-markdown
|
||||
markdown={local.text}
|
||||
ref={(el) => (divEl = el)}
|
||||
/>
|
||||
@@ -726,7 +726,7 @@ export default function Share(props: {
|
||||
for (let i = 0; i < messages().length; i++) {
|
||||
const msg = messages()[i]
|
||||
|
||||
// TODO: Cleaup
|
||||
// TODO: Cleanup
|
||||
// const system = result.messages.length === 0 && msg.role === "system"
|
||||
const assistant = msg.metadata?.assistant
|
||||
|
||||
|
||||
@@ -659,12 +659,12 @@
|
||||
}
|
||||
|
||||
&[data-expanded="true"] {
|
||||
[data-elment-markdown] {
|
||||
[data-element-markdown] {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
&[data-expanded="false"] {
|
||||
[data-elment-markdown] {
|
||||
[data-element-markdown] {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 3;
|
||||
|
||||
Reference in New Issue
Block a user