瀏覽代碼

Minor updates of file selector css

TC pushbot 5 4 年之前
父節點
當前提交
5033a58fd4
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      web/SystemAO/file_system/file_selector.html

+ 2 - 2
web/SystemAO/file_system/file_selector.html

@@ -343,7 +343,7 @@
                             }
                             var fileSize = folders[i].Displaysize;
                             $("#folderList").append(`<div class="fileObject item" fid="${count}" ondblclick="openFolder(event,this);" onclick="selectThis(this,event);" filepath="${encodeURIComponent(filepath)}" filename="${encodeURIComponent(filename)}" isDir="${isDir}">
-                                <span class="fileInfo" ><i class="${icon} icon" style="margin-right:12px;"></i> ${filename}</span>
+                                <span class="fileInfo"><i class="${icon} icon" style="margin-right:4px;"></i> ${filename}</span>
                             </div>`);
                             count++;
                         }
@@ -362,7 +362,7 @@
                             }
                             var fileSize = files[i].Displaysize;
                             $("#fileList").append(`<div class="fileObject item" fid="${count}"  ondblclick="chooseThisFile(this);"  onclick="selectThis(this,event);" filepath="${encodeURIComponent(filepath)}" filename="${encodeURIComponent(filename)}" isDir="${isDir}">
-                                <span class="fileInfo"><i class="${icon} icon" style="margin-right:12px;"></i> ${filename}</span>
+                                <span class="fileInfo"><i class="${icon} icon" style="margin-right:4px;margin-top: 2px;"></i> ${filename}</span>
                             </div>`);
                             count++;
                         }