Merge branch 'feature/add-view-pagenav-classes' into 'release'
Add class name on Page Navs for testing See merge request theappsmith/internal-tools-client!429
This commit is contained in:
commit
a2b5e71a1d
|
|
@ -47,7 +47,11 @@ export const SideNavItem = (props: SideNavItemProps) => {
|
|||
}}
|
||||
>
|
||||
<MenuItem
|
||||
className={props.loading ? Classes.SKELETON : Classes.FILL}
|
||||
className={
|
||||
props.loading
|
||||
? Classes.SKELETON
|
||||
: `${Classes.FILL} t--page-nav-${props.text}`
|
||||
}
|
||||
active={!!match}
|
||||
text={menuItemContent}
|
||||
tagName="div"
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ const PageListItem = withTheme((props: PageListItemProps) => {
|
|||
<PageListItemWrapper
|
||||
onClick={() => props.switchPage(props.id)}
|
||||
active={props.active}
|
||||
className={`t--page-sidebar-${props.name}`}
|
||||
>
|
||||
<div>
|
||||
{pageIcon}
|
||||
|
|
@ -103,7 +104,7 @@ const PageListItem = withTheme((props: PageListItemProps) => {
|
|||
icon: "MORE_VERTICAL_CONTROL",
|
||||
iconSize: props.theme.fontSizes[6],
|
||||
}}
|
||||
className="more"
|
||||
className="more t--page-sidebar-menu-actions"
|
||||
/>
|
||||
</PageListItemWrapper>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user