Skip to content

Commit

Permalink
Minor fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Jan 30, 2024
1 parent 43ddee5 commit 6dae420
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ const AttachmentsGridOverview: React.FC<AttachmentsGridOverviewProps> = ({
return (
<div key={indx}>
<AttachmentThumbnail imageProps={imageProps} item={item} />
<p className={styles.bodyLong01}>{attachment.title}</p>
<p className={classNames(styles.bodyLong01, styles.muted)}>{attachment.dateTime}</p>
<p className={styles.title}>{attachment.title}</p>
<p className={styles.muted}>{attachment.dateTime}</p>
</div>
);
})}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@use '@carbon/styles/scss/spacing';
@use '~@carbon/styles/scss/colors';
@use '@carbon/styles/scss/type';
@import '../root.scss';

.galleryContainer {
Expand All @@ -18,3 +19,14 @@
object-fit: cover;
}

.muted {
color: $color-gray-70;
@include type.type-style("label-01");
margin: 0.25rem;
}

.title {
@extend .bodyLong01;
color: colors.$gray-100;
margin: 0.25rem;
}
5 changes: 0 additions & 5 deletions packages/esm-patient-attachments-app/src/root.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
@include type.type-style("body-long-01");
}

.muted {
color: $color-gray-70;
@include type.type-style("label-01");
}

.bodyShort01 {
@include type.type-style("body-compact-01");
}
Expand Down

0 comments on commit 6dae420

Please sign in to comment.