Skip to content

Commit 5c03e78

Browse files
committed
Fix styles
1 parent 04cfb11 commit 5c03e78

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

src/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import { useCustomColumnsData } from '../../../../../hooks/useCustomColumnsData'
2929
import hasCustomField from '../../../../utils/customData/hasCustomField';
3030
import mergeRecords from '../../../../utils/customData/mergeRecords';
3131
import './TransactionsOverview.scss';
32+
import InputBase from '../../../../internal/FormFields/InputBase';
3233

3334
export const TransactionsOverview = ({
3435
onFiltersChanged,
@@ -289,6 +290,20 @@ export const TransactionsOverview = ({
289290
placeholder={i18n.get('transactions.overview.filters.types.currency.label')}
290291
/>
291292
</FilterBar>
293+
<InputBase
294+
dropdown={{
295+
items: [
296+
{ id: 'EUR', name: 'EUR' },
297+
{ id: 'USD', name: 'USD' },
298+
],
299+
value: 'EUR',
300+
'aria-label': 'Currency selector',
301+
}}
302+
onDropdownInput={(value: any) => console.log('Dropdown changed:', value)}
303+
value="Entered Text"
304+
type={'number'}
305+
placeholder="Enter amount"
306+
/>
292307
<div className={SUMMARY_CLASS}>
293308
<div className={SUMMARY_ITEM_CLASS}>
294309
<TransactionTotals

src/components/internal/FormFields/FormFields.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,21 +114,21 @@
114114

115115
&__container > input {
116116
background: transparent;
117-
border: 0 !important;
118-
box-shadow: none !important;
117+
border: 0;
118+
box-shadow: none;
119119
flex: 1;
120120
height: auto;
121121
outline: none;
122122
padding: 5px 8px;
123123

124124
&:hover {
125-
border: 0 !important;
125+
border: 0;
126126
}
127127

128128
&:focus,
129129
&:active {
130130
background: transparent;
131-
border: 0 !important;
131+
border: 0;
132132
outline: none !important;
133133
}
134134
}

0 commit comments

Comments
 (0)