Skip to content

Commit e223341

Browse files
committed
Minimize size of search, increase length only for locations
1 parent 315ea21 commit e223341

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#all-locations .search-input-wrapper {
2+
width: 55%;
3+
min-width: 192px;
4+
}

packages/fhir-location-management/src/components/AllLocationListFlat/index.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import { MenuProps } from 'antd';
1616
import { MoreOutlined, PlusOutlined } from '@ant-design/icons';
1717
import { BundleEntry } from '@smile-cdr/fhirts/dist/FHIR-R4/classes/bundleEntry';
1818
import { getEntryFromBundle, getTableData } from './utils';
19+
import './index.css';
1920

2021
interface RouteParams {
2122
locationId: string | undefined;
@@ -158,7 +159,7 @@ export const AllLocationListFlat: React.FC<LocationListPropTypes> = (props) => {
158159
};
159160

160161
return (
161-
<div className="content-section">
162+
<div id="all-locations" className="content-section">
162163
<Helmet>
163164
<title>{t('All Locations List')}</title>
164165
</Helmet>

packages/react-utils/src/components/Search/index.css

-6
This file was deleted.

packages/react-utils/src/components/Search/index.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { OnChangeType, DEBOUNCE_HANDLER_MS } from './utils';
55
import { SearchOutlined } from '@ant-design/icons';
66
import { InputProps } from 'antd/lib/input/';
77
import { useTranslation } from '../../mls';
8-
import './index.css';
98

109
/**
1110
* Interface for SearchForm props
@@ -22,7 +21,6 @@ export const defaultSearchProps: SearchFormProps = {
2221
onChangeHandler: () => {
2322
return;
2423
},
25-
size: 'large',
2624
addonBefore: defaultPrefix,
2725
allowClear: true,
2826
};

0 commit comments

Comments
 (0)