summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/yomichan.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index 6cb7d415..ef80f16c 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -162,13 +162,13 @@ class Yomichan {
case 'glossary-list':
if (definition.glossary) {
if (definition.glossary.length > 1) {
- value = '<ol style="white-space: pre; text-align: left;">';
+ value = '<ol style="white-space: pre; text-align: left; overflow-x: auto;">';
for (const gloss of definition.glossary) {
value += `<li>${gloss}</li>`;
}
value += '</ol>';
} else {
- value = `<p style="white-space: pre;">${definition.glossary.join('')}</p>`;
+ value = `<p style="white-space: pre; overflow-x: auto;">${definition.glossary.join('')}</p>`;
}
}
break;