Skip to content

Commit add052a

Browse files
authoredAug 4, 2021
MF-635 Fix design issues in patient chart (#32)
1 parent 5884548 commit add052a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎packages/esm-patient-registration-app/src/widgets/edit-patient-details-button.component.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
import React from 'react';
22
import { ConfigurableLink } from '@openmrs/esm-framework';
33
import { useTranslation } from 'react-i18next';
4+
import styles from './edit-patient-details-button.scss';
45

56
export default function EditPatientDetailsButton({ patientUuid }) {
67
const { t } = useTranslation();
78
return (
89
<li className="bx--overflow-menu-options__option">
910
<ConfigurableLink
1011
to={`\${openmrsSpaBase}/patient/${patientUuid}/edit`}
11-
className="bx--overflow-menu-options__btn"
12+
className={`bx--overflow-menu-options__btn ${styles.link}`}
1213
title={t('editPatientDetails', 'Edit Patient Details')}>
1314
<span className="bx--overflow-menu-options__option-content">
1415
{t('editPatientDetails', 'Edit Patient Details')}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.link{
2+
text-decoration: none;
3+
}

0 commit comments

Comments
 (0)
Failed to load comments.