Skip to content

Commit

Permalink
(fix) HIV Patient Summary page is not scrollable
Browse files Browse the repository at this point in the history
  • Loading branch information
CynthiaKamau committed Jan 14, 2025
1 parent d91bc53 commit 8f80516
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,16 @@ export interface EncounterValuesTileProps {

export const EncounterTile: React.FC<EncounterTileProps> = ({ patientUuid, columns, headerTitle }) => {
return (
<>
<Tile className={styles.tile}>
<div className={styles.cardTitle}>
<h4 className={styles.title}> {headerTitle} </h4>
</div>
<Column className={styles.tabletTileTitle}>
{columns.map((column, ind) => (
<EncounterValuesTile key={ind} patientUuid={patientUuid} column={column} />
))}
</Column>
</Tile>
</>
<Tile className={styles.tile}>
<div className={styles.cardTitle}>
<h4 className={styles.title}> {headerTitle} </h4>
</div>
<Column className={styles.tabletTileTitle}>
{columns.map((column, ind) => (
<EncounterValuesTile key={ind} patientUuid={patientUuid} column={column} />
))}
</Column>
</Tile>
);
};

Expand Down
7 changes: 6 additions & 1 deletion packages/esm-commons-lib/src/styleguide/tiles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
@use '@carbon/styles/scss/type';
@import "../root.scss";

@media (min-width: 1200px) {
:global(.-esm-patient-chart__dashboard-view__extensionWrapper___Jd2UR) {
height: fit-content;
}
}

.title {
@extend .productiveHeading03;
}
Expand All @@ -22,7 +28,6 @@
}

.tile {
height: 100%;
padding: 1px 0 16px 16px;
margin: 0.5rem;
border: solid 1px #e0e0e0;
Expand Down

0 comments on commit 8f80516

Please sign in to comment.