diff options
| author | Alex Yatskov <alex@foosoft.net> | 2016-12-29 10:03:37 -0800 | 
|---|---|---|
| committer | Alex Yatskov <alex@foosoft.net> | 2016-12-29 10:03:37 -0800 | 
| commit | b9363dc97905f1f564b09cc784df30d0085d33e0 (patch) | |
| tree | 92818f9c37e7b1277a7020d52044b784490084d3 | |
| parent | 1ac3ad9d56ff08d02f2009597605e12ffa61b92e (diff) | |
add optionalscrollbars to glossary-list
| -rw-r--r-- | ext/bg/js/yomichan.js | 4 | 
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; |