summaryrefslogtreecommitdiff
path: root/src/utils/strings.ts
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-19 14:34:41 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-02-19 14:34:41 +1100
commit7bf8cd4cf0fd277d7ec30c1ea6f3d83017fec160 (patch)
tree38f7fd7b00409051f5af34b71bbd44cedd6a001d /src/utils/strings.ts
parentbar: use menubutton for tray items (diff)
downloadcaelestia-shell-7bf8cd4cf0fd277d7ec30c1ea6f3d83017fec160.tar.gz
caelestia-shell-7bf8cd4cf0fd277d7ec30c1ea6f3d83017fec160.tar.bz2
caelestia-shell-7bf8cd4cf0fd277d7ec30c1ea6f3d83017fec160.zip
bar: fix being too tall when vertical
Diffstat (limited to 'src/utils/strings.ts')
-rw-r--r--src/utils/strings.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/strings.ts b/src/utils/strings.ts
index e5bc43e..df2f781 100644
--- a/src/utils/strings.ts
+++ b/src/utils/strings.ts
@@ -1 +1 @@
-export const ellipsize = (str: string, len = 40) => (str.length > len ? `${str.slice(0, len - 1)}…` : str);
+export const ellipsize = (str: string, len: number) => (str.length > len ? `${str.slice(0, len - 1)}…` : str);