Skip to content

Commit e63a296

Browse files
committed
improve debuglog styles
1 parent 6e46257 commit e63a296

3 files changed

Lines changed: 12 additions & 543 deletions

File tree

llms/extensions/browser/ui/index.mjs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const BrowserPage = {
111111
<span class="text-xs text-gray-500">{{ debugLogExpanded ? '▼' : '▲' }}</span>
112112
</div>
113113
</div>
114-
<div v-if="debugLogExpanded" ref="debugLogContainer" class="flex-1" style="min-height: 0"></div>
114+
<div v-if="debugLogExpanded" id="debuglog" ref="debugLogContainer" class="flex-1" style="min-height: 0"></div>
115115
</div>
116116
</div>
117117
@@ -404,7 +404,11 @@ const BrowserPage = {
404404

405405
watch(debugLogHeight, () => {
406406
if (term && debugLogContainer.value) {
407-
try { term.resize(Math.floor(debugLogContainer.value.clientWidth / 7.2), Math.floor(debugLogContainer.value.clientHeight / 17)) } catch (e) { }
407+
try {
408+
term.resize(
409+
Math.floor(debugLogContainer.value.clientWidth / 7.2),
410+
Math.floor(debugLogContainer.value.clientHeight / 17))
411+
} catch (e) { }
408412
}
409413
})
410414

0 commit comments

Comments
 (0)