@aiyiran/myclaw 1.1.63 → 1.1.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -306,6 +306,7 @@
|
|
|
306
306
|
content.style.cssText = [
|
|
307
307
|
'flex: 1',
|
|
308
308
|
'overflow-y: auto',
|
|
309
|
+
'overflow-x: auto',
|
|
309
310
|
'padding: 8px',
|
|
310
311
|
'color: #cdd6f4',
|
|
311
312
|
'font-family: monospace',
|
|
@@ -637,7 +638,7 @@
|
|
|
637
638
|
|
|
638
639
|
// 文件显示(上下两行:上层路径 + 直接父文件夹/文件名)
|
|
639
640
|
var fname = document.createElement('div');
|
|
640
|
-
fname.style.cssText = 'flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:2px;
|
|
641
|
+
fname.style.cssText = 'flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:2px;';
|
|
641
642
|
|
|
642
643
|
var fullPath = asset.path || asset.name || '未命名';
|
|
643
644
|
var parts = fullPath.split('/').filter(function(p) { return p !== ''; });
|
|
@@ -660,7 +661,7 @@
|
|
|
660
661
|
var dirSpan = document.createElement('span');
|
|
661
662
|
dirSpan.textContent = topPart;
|
|
662
663
|
dirSpan.title = fullPath;
|
|
663
|
-
dirSpan.style.cssText = 'color:#666;font-size:9px;line-height:1.3;white-space:nowrap;
|
|
664
|
+
dirSpan.style.cssText = 'color:#666;font-size:9px;line-height:1.3;white-space:nowrap;';
|
|
664
665
|
fname.appendChild(dirSpan);
|
|
665
666
|
}
|
|
666
667
|
|
|
@@ -668,7 +669,7 @@
|
|
|
668
669
|
var nameSpan = document.createElement('span');
|
|
669
670
|
nameSpan.textContent = bottomPart;
|
|
670
671
|
nameSpan.title = fullPath;
|
|
671
|
-
nameSpan.style.cssText = 'font-size:13px;font-weight:500;line-height:1.5;white-space:nowrap;
|
|
672
|
+
nameSpan.style.cssText = 'font-size:13px;font-weight:500;line-height:1.5;white-space:nowrap;';
|
|
672
673
|
fname.appendChild(nameSpan);
|
|
673
674
|
|
|
674
675
|
row.appendChild(leftCol);
|