Skip to content

Commit 38536a8

Browse files
committed
frontend: improve send view in responsive mode
1 parent 6a7df6d commit 38536a8

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

frontends/web/src/routes/account/send/components/confirm/confirm.module.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.confirmationItemWrapper {
66
align-items: baseline;
77
display: flex;
8+
flex-wrap: wrap;
89
justify-content: space-between;
910
}
1011

@@ -18,6 +19,7 @@
1819
}
1920

2021
.confirmItem p {
22+
flex-grow: 1;
2123
margin: 0;
2224
word-break: break-all;
2325
}
@@ -49,6 +51,7 @@
4951
.totalWrapper {
5052
align-items: baseline;
5153
display: flex;
54+
flex-wrap: wrap;
5255
}
5356

5457
.totalWrapper .totalFiatValue {

frontends/web/src/routes/account/send/components/confirm/confirm.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ export const ConfirmSend = ({
134134
{note ? (
135135
<div className={style.confirmItem}>
136136
<label>{t('note.title')}</label>
137-
<p className={style.valueOriginal}>{note}</p>
137+
<p className={style.valueOriginal}>
138+
{note}
139+
</p>
138140
</div>
139141
) : null}
140142

frontends/web/src/routes/account/send/utxos.module.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.utxosList {
22
list-style: none;
3-
padding: 0 0 var(--space-half) 0;
3+
padding: 0 0 var(--space-half) 0 !important;
44
}
55

66
.utxosList label {
@@ -41,11 +41,14 @@
4141
}
4242

4343
.utxoExplorer img {
44-
width: 18px;
45-
height: 18px;
44+
display: block;
45+
height: var(--size-subheader);
46+
width: var(--size-subheader);
4647
}
4748

4849
.amounts {
50+
display: flex;
51+
flex-wrap: wrap;
4952
line-height: 1;
5053
padding-bottom: var(--space-quarter);
5154
}

0 commit comments

Comments
 (0)