Skip to content

Commit

Permalink
(fix) UI fixes for the Individual Tests view of the Results dashboard (
Browse files Browse the repository at this point in the history
…openmrs#2026)

(fix) Results viewer UI fixes
  • Loading branch information
denniskigen authored and senthil-athiban committed Nov 19, 2024
1 parent 7f16b6b commit d45245d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@
.low {
p {
@include type.type-style('heading-compact-01');
color: $ui-05;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ p {
.low {
p {
@include type.type-style('heading-compact-01');
color: $ui-05;
}
}

Expand Down Expand Up @@ -78,12 +79,13 @@ p {
.resultType {
@include type.type-style('heading-compact-02');
color: $text-02;
margin-bottom: 5px;
margin-bottom: 4px;
}

.date {
color: $text-02;
padding-right: 0.625rem;
@include type.type-style('label-01');
}

.date::after {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@
}
}

.border {
border: 1px solid $ui-03;
border-bottom: none;
}

.groupPanelsTables {
> div + div {
margin-top: layout.$spacing-05;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,15 @@ const GroupedPanelsTables: React.FC<{ className: string; loadingPanelData: boole
parents[parent.flatName].includes(row.flatName) && checkboxes[row.flatName],
)
: rowData?.filter((row: { flatName: string }) => parents[parent.flatName].includes(row.flatName));
return <IndividualResultsTable isLoading={loadingPanelData} parent={parent} subRows={subRows} index={index} />;
return (
<div
className={classNames({
[styles.border]: subRows.length,
})}
>
<IndividualResultsTable isLoading={loadingPanelData} parent={parent} subRows={subRows} index={index} />
</div>
);
})}
</Layer>
);
Expand Down

0 comments on commit d45245d

Please sign in to comment.