fix(sidebar): use ellipsis styling for overflowed text
Signed-off-by: Phil Kuang <pkuang@factset.com>
This commit is contained in:
@@ -235,7 +235,7 @@ const SidebarItemWithSubmenu = ({
|
||||
{itemIcon}
|
||||
</div>
|
||||
{text && (
|
||||
<Typography variant="subtitle2" className={classes.text}>
|
||||
<Typography variant="subtitle2" className={classes.label}>
|
||||
{text}
|
||||
</Typography>
|
||||
)}
|
||||
@@ -402,7 +402,7 @@ export const SidebarItem = forwardRef<any, SidebarItemProps>((props, ref) => {
|
||||
{itemIcon}
|
||||
</div>
|
||||
{text && (
|
||||
<Typography variant="subtitle2" className={classes.text}>
|
||||
<Typography variant="subtitle2" className={classes.label}>
|
||||
{text}
|
||||
</Typography>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user