Skip to content

Commit cbe9e35

Browse files
committed
frontend: make account-overview responsive
Visually changed search input height also in default mode, so it uses the same height as all other input fields.
1 parent 680676c commit cbe9e35

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

frontends/web/src/components/amount/conversion-amount.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515
.txUnit {
1616
color: var(--color-secondary);
1717
font-size: var(--size-small);
18-
line-height: 1.285714;
18+
/* line-height: 1.285714; */
1919
white-space: nowrap;
2020
}
2121

2222
.txConversionAmount .txUnit {
23-
font-size: 1.2rem;
23+
font-size: var(--size-smaller);
2424
flex-shrink: 0;
2525
}
2626

2727
.txSmallInlineIcon img {
28-
max-height: 15px;
29-
max-width: 15px;
28+
max-height: 1.5rem;
29+
max-width: 1.5rem;
3030
vertical-align: text-bottom;
3131
}
3232
.txConversionAmount .txSmallInlineIcon {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
.txAmount {
8383
align-items: baseline;
84-
font-size: 1.6rem;
84+
font-size: var(--size-default);
8585
font-variant: tabular-nums;
8686
gap: 3px;
8787
justify-content: flex-end;
@@ -180,7 +180,7 @@
180180
}
181181
.txType {
182182
color: var(--color-default);
183-
font-size: 1.6rem;
183+
font-size: var(--size-default);
184184
line-height: 1.25;
185185
}
186186

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
}
3333

3434
.loupe {
35-
width: 17px;
35+
width: var(--size-default);
3636
}
3737

3838
@media (max-width: 768px) {
@@ -54,7 +54,6 @@
5454
}
5555

5656
.actionsContainer {
57-
--size-default: 1.4rem;
5857
display: flex;
5958
flex-grow: 1;
6059
flex-shrink: 0;
@@ -102,7 +101,7 @@
102101
color: var(--color-secondary);
103102
display: flex;
104103
justify-content: space-between;
105-
margin-bottom: var(--space-quarter) !important; /* overwrite default subTitle margin */
104+
margin-bottom: 0 !important; /* overwrite default subTitle margin */
106105
}
107106
.titleWithButton button {
108107
padding-left: var(--space-half);
@@ -181,10 +180,6 @@
181180
width: 100%;
182181
}
183182

184-
.searchInput input {
185-
height: 40px;
186-
}
187-
188183
.searchInput:focus {
189184
outline: none;
190185
border-color: var(--color-primary);

0 commit comments

Comments
 (0)