Jelajahi Sumber

:lipstick: https://github.com/siyuan-note/siyuan/issues/5799

Vanessa 2 tahun lalu
induk
melakukan
8eb59a56d3
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/src/protyle/toolbar/index.ts

+ 1 - 1
app/src/protyle/toolbar/index.ts

@@ -683,7 +683,7 @@ export class Toolbar {
     <span class="fn__space"></span>
     <button data-type="close" class="block__icon b3-tooltips b3-tooltips__nw" aria-label="${window.siyuan.languages.close}"><svg style="width: 10px"><use xlink:href="#iconClose"></use></svg></button>
 </div>
-<textarea spellcheck="false" class="b3-text-field b3-text-field--text fn__block" placeholder="${placeholder}" style="width:${isMobile() ? "80vw" : Math.max(480, renderElement.clientWidth * 0.7) + "px"};max-height:50vh"></textarea></div>`;
+<textarea spellcheck="false" class="b3-text-field b3-text-field--text fn__block" placeholder="${placeholder}" style="width:${isMobile() ? "100vw" : Math.max(480, renderElement.clientWidth * 0.7) + "px"};max-height:50vh"></textarea></div>`;
         const autoHeight = () => {
             textElement.style.height = textElement.scrollHeight + "px";
             if (isMobile()) {