Explorar o código

Text module style update

Toby Chui hai 2 días
pai
achega
6bd58485b5
Modificáronse 2 ficheiros con 5 adicións e 5 borrados
  1. 4 4
      src/web/Text/index.html
  2. 1 1
      src/web/Text/init.agi

+ 4 - 4
src/web/Text/index.html

@@ -350,11 +350,11 @@
     <div id="toolbar">
         <button class="tb-btn" onclick="openFile()" title="Open file">
             <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/></svg>
-            <span class="tb-text">Open</span>
+            <!-- <span class="tb-text">Open</span> -->
         </button>
         <button class="tb-btn" onclick="saveFile()" title="Save (Ctrl+S)">
             <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"/><polyline points="17 21 17 13 7 13 7 21"/><polyline points="7 3 7 8 15 8"/></svg>
-            <span class="tb-text">Save</span>
+            <!-- <span class="tb-text">Save</span> -->
         </button>
 
         <div class="tb-sep md-only"></div>
@@ -410,10 +410,10 @@
                     <svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="3" width="20" height="14" rx="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>
                     From server
                 </button>
-                <button class="menu-item" onclick="hideMenus();insertImageByUrl()">
+                <!-- <button class="menu-item" onclick="hideMenus();insertImageByUrl()">
                     <svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1.5 1.5"/></svg>
                     By URL
-                </button>
+                </button> -->
             </div>
         </div>
 

+ 1 - 1
src/web/Text/init.agi

@@ -14,7 +14,7 @@ var moduleLaunchInfo = {
     SupportFW: true,
     LaunchFWDir: "Text/index.html",
     SupportEmb: false,
-    InitFWSize: [880, 620],
+    InitFWSize: [940, 620],
     SupportedExt: [".txt", ".md", ".markdown", ".mdown", ".mkd", ".csv", ".log", ".ini", ".conf"]
 }