mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: rendering of lists in assistant
This commit is contained in:
1 parent
468473a7f5
commit
f5ffa1cb61
1 file changed
+21
-4
@@ -148,7 +148,12 @@
|
||||
})}
|
||||
clearOnCallback={false}
|
||||
on:keydown={(e) => {
|
||||
if (e.detail.key !== 'Escape') {
|
||||
const showingExamples = !$isLoading && !answer;
|
||||
if (e.detail.key === 'Enter' && $input.trim()) {
|
||||
e.detail.cancel();
|
||||
return;
|
||||
}
|
||||
if (e.detail.key !== 'Escape' && !showingExamples) {
|
||||
e.detail.cancel();
|
||||
}
|
||||
}}
|
||||
@@ -302,15 +307,27 @@
|
||||
}
|
||||
}
|
||||
|
||||
:global(.answer ul),
|
||||
:global(.answer ol) {
|
||||
gap: 1rem;
|
||||
:global(.answer ul) {
|
||||
padding-inline-start: 1rem;
|
||||
list-style-type: disc;
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
:global(.answer ol) {
|
||||
padding-inline-start: 1.1rem;
|
||||
list-style-type: decimal;
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
:global(.answer a) {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
:global(.answer a:hover) {
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
.experimental {
|
||||
|
||||
Reference in new issue
Block a user