Skip to content

Commit fe775eb

Browse files
authored
Added expandable chatbox
1 parent 1391adc commit fe775eb

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

media/chat/css/chatpage.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,19 @@ a {
241241
color: var(--vscode-textLink-activeForeground);
242242
}
243243

244+
ol li::before,
244245
ul li::before {
245-
content: "•";
246246
margin-right: 5px;
247+
}
248+
249+
ol, ul {
250+
padding-left: 11px;
251+
}
252+
253+
ol {
254+
list-style-type: decimal;
255+
}
256+
257+
ul {
258+
list-style-type: disc;
247259
}

media/chat/scripts/main.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,10 @@ class Mentionify {
398398
const modelResponse = document.querySelectorAll("div.user-gemini-pro");
399399
modelResponse.forEach((_modelResponse) => {
400400
const pBlocks = _modelResponse.querySelectorAll("p");
401-
pBlocks.forEach((_pBlock) => {
402-
_pBlock.classList.add("my-3");
401+
pBlocks.forEach((_pBlock, index) => {
402+
if (index !== 0) {
403+
_pBlock.classList.add("my-3");
404+
}
403405
});
404406
});
405407
}

0 commit comments

Comments
 (0)