Skip to content

Commit 685a38c

Browse files
committed
regression: single-line preedit
1 parent 0ba1706 commit 685a38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/panel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ function updateElement(element: Element, formatted: [string, number][]) {
216216
}
217217
else {
218218
for (const [text, _] of formatted) { // Ignore format for now.
219-
const child = div()
219+
const child = document.createElement('span') // So that element doesn't need display: flex.
220220
child.textContent = text
221221
element.appendChild(child)
222222
}

0 commit comments

Comments
 (0)