From e62f9e78982f8fa155779f147bea02894d55c5fc Mon Sep 17 00:00:00 2001 From: Joseph John Aas Cooper <33054985+cooper-joe@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:54:39 +0100 Subject: [PATCH 1/2] fix(transfer): use dense inputs for filtering --- components/transfer/src/filter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/components/transfer/src/filter.js b/components/transfer/src/filter.js index abc41342ea..f88cae7a96 100644 --- a/components/transfer/src/filter.js +++ b/components/transfer/src/filter.js @@ -8,6 +8,7 @@ export const Filter = ({ dataTest, filter, onChange, label, placeholder }) => (
Date: Mon, 16 Dec 2024 09:58:59 +0100 Subject: [PATCH 2/2] fix(transfer): apply margin to first and last items, remove container padding --- components/transfer/src/options-container.js | 2 -- components/transfer/src/transfer-option.js | 10 +++++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/components/transfer/src/options-container.js b/components/transfer/src/options-container.js index 26690b1527..9374e81bc8 100644 --- a/components/transfer/src/options-container.js +++ b/components/transfer/src/options-container.js @@ -1,4 +1,3 @@ -import { spacers } from '@dhis2/ui-constants' import { CircularLoader } from '@dhis2-ui/loader' import PropTypes from 'prop-types' import React, { Fragment, useRef } from 'react' @@ -69,7 +68,6 @@ export const OptionsContainer = ({
)