Преглед изворни кода

Мелкая поправка

Book Pauk пре 6 година
родитељ
комит
37822e8409
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      client/components/Reader/TextPage/DrawHelper.js

+ 1 - 1
client/components/Reader/TextPage/DrawHelper.js

@@ -28,7 +28,7 @@ export default class DrawHelper {
 
         let out = `<div style="width: ${this.w}px; height: ${this.h}px;` + 
             ` position: absolute; top: ${this.fontSize*this.textShift}px; color: ${this.textColor}; font: ${font}; ${justify}` +
-            ` line-height: ${this.lineHeight}px;">`;
+            ` line-height: ${this.lineHeight}px; white-space: nowrap;">`;
 
         let imageDrawn = new Set();
         let len = lines.length;