Skip to content

Commit

Permalink
increase length limit for course name in admin sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
mhk19 committed Sep 7, 2021
1 parent c3180af commit 2e5eaac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/sidebar/adminSubMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const SubMenu = () => {
onClick={() => dispatch(SwitchSubMenu(key))}
>
<span className="coursehandle--heading" title={item.title}>
{item.title.length < 30 ? item.title : ShortName(item.title)}
{item.title.length < 50 ? item.title : ShortName(item.title)}
{item.code && ` | ${item.code}`}
</span>
</div>
Expand Down

0 comments on commit 2e5eaac

Please sign in to comment.