Skip to content

Commit

Permalink
OHRI-1350 ohri dashboard sidenav
Browse files Browse the repository at this point in the history
  • Loading branch information
pirupius committed Sep 25, 2023
1 parent 405a59f commit 8223d59
Show file tree
Hide file tree
Showing 4 changed files with 457 additions and 16 deletions.
9 changes: 2 additions & 7 deletions packages/esm-cervical-cancer-app/src/views/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
padding-top: 0.188rem;
border-bottom: 0.375rem solid var(--brand-01);
}

x
.toggleButtons {
width: fit-content;
margin: 0 spacing.$spacing-03;
Expand All @@ -31,9 +31,4 @@

.tabContainer li button {
width: 100% !important;
}


.hivStatusTag {
min-width: 80px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useTranslation } from 'react-i18next';
const OHRIDashboardSideNav = () => {
const { t } = useTranslation();
return (
<SideNav isFixedNav expanded={true} isChildOfHeader={false} aria-label="Side navigation" className={styles.sideNav}>
<SideNav isFixedNav expanded isChildOfHeader={false} aria-label="Side navigation" className={styles.sideNav}>
<SideNavItems>
<ExtensionSlot name="dashboard-links-slot" />

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';
import { LeftNavMenu } from '@openmrs/esm-framework';

const OhriHome = () => <LeftNavMenu />;

export default OhriHome;
Loading

0 comments on commit 8223d59

Please sign in to comment.