aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-15 19:58:09 +0800
committerFabio Berger <me@fabioberger.com>2018-10-15 19:58:09 +0800
commita5e435d8317c7532caa4eb0fcf5bb49cf42c87c7 (patch)
treea650f322da83dec3014f598662ec0246aef101e9
parent6ada38248ec4d44605465f41cfe5e0801d26aa32 (diff)
downloaddexon-sol-tools-a5e435d8317c7532caa4eb0fcf5bb49cf42c87c7.tar
dexon-sol-tools-a5e435d8317c7532caa4eb0fcf5bb49cf42c87c7.tar.gz
dexon-sol-tools-a5e435d8317c7532caa4eb0fcf5bb49cf42c87c7.tar.bz2
dexon-sol-tools-a5e435d8317c7532caa4eb0fcf5bb49cf42c87c7.tar.lz
dexon-sol-tools-a5e435d8317c7532caa4eb0fcf5bb49cf42c87c7.tar.xz
dexon-sol-tools-a5e435d8317c7532caa4eb0fcf5bb49cf42c87c7.tar.zst
dexon-sol-tools-a5e435d8317c7532caa4eb0fcf5bb49cf42c87c7.zip
fix: menu item overflow issue
-rw-r--r--packages/react-shared/src/components/nested_sidebar_menu.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/react-shared/src/components/nested_sidebar_menu.tsx b/packages/react-shared/src/components/nested_sidebar_menu.tsx
index 71b9b4d32..1ad61fcca 100644
--- a/packages/react-shared/src/components/nested_sidebar_menu.tsx
+++ b/packages/react-shared/src/components/nested_sidebar_menu.tsx
@@ -30,6 +30,9 @@ const styles: Styles = {
fontSize: 14,
lineHeight: 2,
padding: 0,
+ whiteSpace: 'nowrap',
+ overflow: 'hidden',
+ textOverflow: 'ellipsis',
},
};