Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: UI adjustments [DHIS2-18628] #471

Merged
merged 18 commits into from
Dec 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: adjust org unit row height, expand button
cooper-joe committed Dec 17, 2024

Verified

This commit was signed with the committer’s verified signature.
cooper-joe Joe Cooper
commit 7e5b7a7319ab8f904ac608807843b710cc8a618c
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
.expandButton {
border: 0 !important;
}
.expandButton:hover {
background-color: var(--colors-grey300) !important;
color: var(--colors-grey900) !important;
}

.listDetailsWrapper {
display: grid;
@@ -12,6 +16,11 @@
margin-top: var(--spacers-dp8);
}

.orgUnitRow td {
padding-block-start: var(--spacers-dp8);
padding-block-end: var(--spacers-dp8);
}

@media (max-width: 1200px) {
.listDetailsWrapper {
display: grid;
3 changes: 2 additions & 1 deletion src/pages/organisationUnits/list/OrganisationUnitRow.tsx
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ export const OrganisationUnitRow = ({

return (
<>
<DataTableRow key={row.id}>
<DataTableRow className={css.orgUnitRow} key={row.id}>
<DataTableCell>
<span
style={{
@@ -70,6 +70,7 @@ export const OrganisationUnitRow = ({
<Button
className={css.expandButton}
secondary
small
type="button"
dataTest="row-expand-icon"
loading={