Merge pull request #109 from mirumee/fix-configure-menu-section
Fix configure menu section
This commit is contained in:
commit
1bfb3070e3
4 changed files with 7 additions and 6 deletions
|
@ -6,3 +6,4 @@ All notable, unreleased changes to this project will be documented in this file.
|
||||||
|
|
||||||
- Add changelog and github issue/PR templates - #97 by @dominik-zeglen
|
- Add changelog and github issue/PR templates - #97 by @dominik-zeglen
|
||||||
- Update dependencies to suppress storybook build errors - #98 by @dominik-zeglen
|
- Update dependencies to suppress storybook build errors - #98 by @dominik-zeglen
|
||||||
|
- Fix configure menu section - #109 by @benekex2
|
||||||
|
|
|
@ -307,7 +307,7 @@ const MenuList = withStyles(styles, { name: "MenuList" })(
|
||||||
<a
|
<a
|
||||||
className={classes.menuListItem}
|
className={classes.menuListItem}
|
||||||
href={createHref(configurationMenuUrl)}
|
href={createHref(configurationMenuUrl)}
|
||||||
onClick={event => onMenuItemClick(configurationMenuUrl, event)}
|
onClick={event => closeSubMenu(configurationMenuUrl, event)}
|
||||||
>
|
>
|
||||||
<div className={classes.menuItemHover}>
|
<div className={classes.menuItemHover}>
|
||||||
<SVG
|
<SVG
|
||||||
|
@ -317,12 +317,12 @@ const MenuList = withStyles(styles, { name: "MenuList" })(
|
||||||
src={configureIcon}
|
src={configureIcon}
|
||||||
/>
|
/>
|
||||||
<Typography
|
<Typography
|
||||||
aria-label="configure"
|
aria-label="configuration"
|
||||||
className={classNames(classes.menuListItemText, {
|
className={classNames(classes.menuListItemText, {
|
||||||
[classes.menuListItemTextHide]: !isMenuSmall
|
[classes.menuListItemTextHide]: !isMenuSmall
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{i18n.t("Configure")}
|
{i18n.t("Configuration")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -78,7 +78,7 @@ export const ConfigurationPage = withStyles(styles, {
|
||||||
name: "ConfigurationPage"
|
name: "ConfigurationPage"
|
||||||
})(({ classes, menu, user, onSectionClick }: ConfigurationPageProps) => (
|
})(({ classes, menu, user, onSectionClick }: ConfigurationPageProps) => (
|
||||||
<Container>
|
<Container>
|
||||||
<PageHeader title={i18n.t("Configure")} />
|
<PageHeader title={i18n.t("Configuration")} />
|
||||||
<div className={classes.root}>
|
<div className={classes.root}>
|
||||||
{menu
|
{menu
|
||||||
.filter(menuItem =>
|
.filter(menuItem =>
|
||||||
|
|
|
@ -25807,7 +25807,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
|
||||||
<h5
|
<h5
|
||||||
class="MuiTypography-root-id MuiTypography-h5-id Component-title-id"
|
class="MuiTypography-root-id MuiTypography-h5-id Component-title-id"
|
||||||
>
|
>
|
||||||
Configure
|
Configuration
|
||||||
</h5>
|
</h5>
|
||||||
<div
|
<div
|
||||||
class="ExtendedPageHeader-action-id"
|
class="ExtendedPageHeader-action-id"
|
||||||
|
@ -26308,7 +26308,7 @@ exports[`Storyshots Views / Configuration partial access 1`] = `
|
||||||
<h5
|
<h5
|
||||||
class="MuiTypography-root-id MuiTypography-h5-id Component-title-id"
|
class="MuiTypography-root-id MuiTypography-h5-id Component-title-id"
|
||||||
>
|
>
|
||||||
Configure
|
Configuration
|
||||||
</h5>
|
</h5>
|
||||||
<div
|
<div
|
||||||
class="ExtendedPageHeader-action-id"
|
class="ExtendedPageHeader-action-id"
|
||||||
|
|
Loading…
Reference in a new issue