From e68d8d311c09e42f3dad9982ebb34b170701ff01 Mon Sep 17 00:00:00 2001 From: Luke Date: Tue, 10 Jan 2023 21:44:36 +0100 Subject: [PATCH] refactor(web/menu): cap tooltip width --- web/src/features/menu/list/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/features/menu/list/index.tsx b/web/src/features/menu/list/index.tsx index c4ffff2..db28f45 100644 --- a/web/src/features/menu/list/index.tsx +++ b/web/src/features/menu/list/index.tsx @@ -37,6 +37,8 @@ const useStyles = createStyles((theme, params: { position?: MenuPosition; itemCo backgroundColor: theme.colors.dark[6], color: theme.colors.dark[2], borderRadius: theme.radius.sm, + maxWidth: 350, + whiteSpace: 'normal', }, container: { position: 'absolute',