Skip to content

Commit 2c8f42b

Browse files
committed
frontend: make transaction-detail dialog reponsive
1 parent 67b94a3 commit 2c8f42b

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

frontends/web/src/components/transactions/components/details.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
.editButton {
3434
background: none;
3535
border: none;
36-
height: 20px;
36+
min-height: 20px;
3737
margin-right: var(--space-half);
3838
padding: 0;
3939
-webkit-appearance: none;

frontends/web/src/components/transactions/components/tx-detail-dialog/tx-detail-dialog.module.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44

55
.label {
66
color: var(--color-default);
7-
font-size: 14px;
7+
font-size: var(--size-small);
88
font-weight: 600;
99
margin: 0;
1010
}
1111

1212
.row {
1313
align-items: center;
1414
display: flex;
15+
flex-wrap: wrap;
1516
justify-content: space-between;
1617
}
1718

@@ -28,7 +29,7 @@
2829
.detailAddress {
2930
padding: 0;
3031
margin: 0;
31-
height: 20px;
32+
min-height: 20px;
3233
}
3334

3435
.container {
@@ -65,12 +66,13 @@
6566
}
6667

6768
.rowUnit {
68-
font-size: 13px;
69+
font-size: var(--size-small);
6970
}
7071

7172
.statusContainer {
7273
align-items: center;
7374
display: flex;
75+
flex-wrap: wrap;
7476
justify-content: space-between;
7577
margin-bottom: calc(var(--space-half) + var(--space-quarter));
7678
width: 100%;
@@ -114,26 +116,28 @@
114116

115117
.note {
116118
margin: 0;
117-
height: 20px;
118119
width: 85%;
119120
}
120121

121122
.note input {
122123
border: none;
123-
height: 20px;
124+
height: auto;
125+
min-height: 20px;
124126
padding: 0;
125127
}
126128

127129
.noteContainer {
128130
align-items: center;
129131
display: flex;
130132
flex-direction: row;
133+
flex-wrap: wrap;
131134
justify-content: space-between;
132135
padding: 0;
133136
}
134137

135138
.unit {
136139
font-weight: 400;
140+
font-size: var(--size-small);
137141
color: var(--color-secondary);
138142
font-variant: normal;
139143
position: relative;

0 commit comments

Comments
 (0)