diff --git a/src/core_modules/capture-core/components/Coordinates/PolygonCoordinates/PolygonCoordinates.js b/src/core_modules/capture-core/components/Coordinates/PolygonCoordinates/PolygonCoordinates.js index 438b7a6bb9..306004242c 100644 --- a/src/core_modules/capture-core/components/Coordinates/PolygonCoordinates/PolygonCoordinates.js +++ b/src/core_modules/capture-core/components/Coordinates/PolygonCoordinates/PolygonCoordinates.js @@ -5,10 +5,18 @@ import { IconChevronUp16, IconChevronDown16, colors, spacers } from '@dhis2/ui'; type Props = $ReadOnly<{| coordinates: Array>, - classes: { viewButton: string }, + classes: { + buttonContainer: string, + viewButton: string, + }, |}>; const styles = { + buttonContainer: { + display: 'flex', + flexDirection: 'column', + alignItems: 'center', + }, viewButton: { background: 'none', border: 'none', @@ -32,14 +40,17 @@ const PolygonCoordinatesPlain = ({ coordinates, classes }: Props) => { {coordinates.slice(0, showMore ? coordinates.length : 1).map((coordinatePair, index) => ( // eslint-disable-next-line react/no-array-index-key
- {`lat: ${coordinatePair[1]} long: ${coordinatePair[0]}`} + {`lat: ${coordinatePair[1]}`}
+ {`long: ${coordinatePair[0]}`}
))} - +
+ +
); }; diff --git a/src/core_modules/capture-core/components/WidgetsChangelog/common/ChangelogTable/ChangelogCells/ChangelogValueCell.js b/src/core_modules/capture-core/components/WidgetsChangelog/common/ChangelogTable/ChangelogCells/ChangelogValueCell.js index eed9d19caf..3b43a13eba 100644 --- a/src/core_modules/capture-core/components/WidgetsChangelog/common/ChangelogTable/ChangelogCells/ChangelogValueCell.js +++ b/src/core_modules/capture-core/components/WidgetsChangelog/common/ChangelogTable/ChangelogCells/ChangelogValueCell.js @@ -38,7 +38,7 @@ const styles = { wordBreak: 'break-word', maxWidth: '82%', }, - updateArrow: { + arrow: { margin: spacers.dp4, }, };