diff --git a/src/components/MenuItem.js b/src/components/MenuItem.js index 04367394f82e..b7ffacc1e14d 100644 --- a/src/components/MenuItem.js +++ b/src/components/MenuItem.js @@ -151,11 +151,13 @@ const MenuItem = ({ )} - {title} diff --git a/src/pages/workspace/WorkspaceSidebar.js b/src/pages/workspace/WorkspaceSidebar.js index 35f780924915..092605d70c78 100644 --- a/src/pages/workspace/WorkspaceSidebar.js +++ b/src/pages/workspace/WorkspaceSidebar.js @@ -26,6 +26,7 @@ import ONYXKEYS from '../../ONYXKEYS'; import Avatar from '../../components/Avatar'; import CONST from '../../CONST'; import {create} from '../../libs/actions/Policy'; +import Tooltip from '../../components/Tooltip'; const propTypes = { /** Policy for the current route */ @@ -134,17 +135,20 @@ const WorkspaceSidebar = ({ styles.alignSelfCenter, styles.mt4, styles.mb6, + styles.w100, ]} onPress={openEditor} > - - {policy.name} - + + + {policy.name} + + diff --git a/src/styles/styles.js b/src/styles/styles.js index 79709475b5c3..5c3a3404ace8 100644 --- a/src/styles/styles.js +++ b/src/styles/styles.js @@ -895,6 +895,7 @@ const styles = { fontSize: variables.fontSizeNormal, fontWeight: fontWeightBold, color: themeColors.heading, + maxWidth: 240, }, menuItemTextContainer: {