make primary file use font style italics (#324)

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
This commit is contained in:
Kevin Burnett 2023-06-12 06:42:30 -07:00 committed by GitHub
parent ac29b7d1b7
commit 7ab4d40ff4
2 changed files with 11 additions and 2 deletions

View File

@ -595,3 +595,7 @@ hr {
margin: 1rem 0; margin: 1rem 0;
opacity: .25; opacity: .25;
} }
.primary-file-text-suffix {
font-style: italic;
}

View File

@ -352,9 +352,14 @@ export default function ProcessModelShow() {
); );
} }
let primarySuffix = ''; let primarySuffix = null;
if (isPrimaryBpmnFile) { if (isPrimaryBpmnFile) {
primarySuffix = '- Primary File'; primarySuffix = (
<span>
&nbsp;-{' '}
<span className="primary-file-text-suffix">Primary File</span>
</span>
);
} }
let fileLink = null; let fileLink = null;
const fileUrl = profileModelFileEditUrl(processModelFile); const fileUrl = profileModelFileEditUrl(processModelFile);