Skip to content

Commit d9ac616

Browse files
committed
make toolbar responsive
1 parent f91a1cd commit d9ac616

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/components/payment/PaymentNotifications/PaymentNotifications.styles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ export const ExpirationInfo = styled.div`
196196
export const Root = styled(BaseCard)`
197197
padding: 0;
198198
padding-top: 1.25rem;
199+
width: fit-content;
199200
200201
.ant-space.ant-space-horizontal {
201202
width: 100%;

src/components/payment/PaymentNotifications/PaymentNotifications.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export const PaymentNotifications: React.FC<PaymentNotificationsProps> = ({ clas
259259
>
260260
<S.FiltersWrapper>
261261
<BaseRow gutter={[16, 16]} align="middle">
262-
<BaseCol xs={24} md={8}>
262+
<BaseCol xs={24} sm={10} md={12}>
263263
<BaseSelect
264264
value={filter}
265265
onChange={handleFilterChange}
@@ -273,14 +273,14 @@ export const PaymentNotifications: React.FC<PaymentNotificationsProps> = ({ clas
273273

274274
{filter === 'user' && (
275275
<>
276-
<BaseCol xs={24} md={12}>
276+
<BaseCol xs={24} md={9}>
277277
<S.UserInput
278278
placeholder={t('payment.notifications.userPlaceholder', 'Enter user pubkey')}
279279
value={userPubkey}
280280
onChange={handleUserPubkeyChange}
281281
/>
282282
</BaseCol>
283-
<BaseCol xs={24} md={4}>
283+
<BaseCol xs={24} md={3}>
284284
<BaseButton type="primary" onClick={handleUserPubkeyFilter}>
285285
{t('payment.notifications.filter', 'Filter')}
286286
</BaseButton>

0 commit comments

Comments
 (0)