aboutsummaryrefslogtreecommitdiff
path: root/vfs/vfs.ts
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-11-15 10:03:15 +0700
committerShulhan <ms@kilabit.info>2023-11-15 10:03:15 +0700
commit8e424c716390ccf41221c526df8d7d5f44152ba1 (patch)
tree5e5f92c64475446215599d51c93c647700af826e /vfs/vfs.ts
parent95cbbe49df3ef8091341fbb5c2f4b5003643dc9a (diff)
downloadpakakeh.ts-8e424c716390ccf41221c526df8d7d5f44152ba1.tar.xz
vfs: set the crumb style without wrap
In case the directory is too long, the name can span multiline, break automatically by browser and overlap with previous crumbs.
Diffstat (limited to 'vfs/vfs.ts')
-rw-r--r--vfs/vfs.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/vfs/vfs.ts b/vfs/vfs.ts
index ed126eb..c6b4f0a 100644
--- a/vfs/vfs.ts
+++ b/vfs/vfs.ts
@@ -195,6 +195,7 @@ class WuiVfsPath {
this.el.style.borderColor = "silver";
this.el.style.overflow = "auto";
this.el.style.padding = "10px 10px 20px 0px";
+ this.el.style.whiteSpace = "nowrap";
this.onClick = onClick;
}