From 8e424c716390ccf41221c526df8d7d5f44152ba1 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Wed, 15 Nov 2023 10:03:15 +0700 Subject: 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. --- vfs/vfs.ts | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.3