Skip to content

Commit d3ba0a5

Browse files
committed
frontend: make marketplace related components responsive
1 parent 052a3fc commit d3ba0a5

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

frontends/web/src/components/groupedaccountselector/groupedaccountselector.module.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
}
77

88
.balanceSingleValue {
9+
margin-left: var(--space-quarter);
910
margin-right: var(--space-quarter);
1011
}
1112

@@ -26,12 +27,13 @@
2627
}
2728

2829
.select {
30+
font-size: min(var(--size-default), 24px);
2931
margin-bottom: var(--space-half);
3032
}
3133

3234
.select :global(.react-select__group-heading) {
3335
color: var(--color-default);
34-
font-size: var(--size-default);
36+
font-size: min(var(--size-default), 24px);
3537
margin: 0;
3638
padding-right: var(--space-quarter);
3739
text-transform: unset;
@@ -72,6 +74,7 @@
7274

7375
.select :global(.react-select__control) {
7476
background-color: var(--background-secondary);
77+
min-height: var(--input-height);
7578
padding: var(--space-quarter) var(--space-eight);
7679
}
7780

frontends/web/src/components/terms/terms.module.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.disclaimerContainer {
2+
--size-default: min(1.4rem, 24px);
23
align-items: center;
34
display: flex;
45
flex-basis: 100%;
@@ -21,17 +22,17 @@
2122
margin: 0 0 var(--space-default) 0;
2223
max-width: 660px;
2324
overflow: auto;
24-
padding: var(--space-quarter) 1em 1em 1em;
25+
padding: var(--space-quarter) var(--space-half) var(--space-half) var(--space-half);
2526
}
2627

2728
.title {
28-
font-size: 1.4rem;
29+
font-size: var(--size-default);
2930
font-weight: bold;
3031
text-align: left;
3132
}
3233

3334
.disclaimer p {
34-
font-size: 1.4rem;
35+
font-size: var(--size-default);
3536
line-height: 1.5;
3637
}
3738

@@ -45,7 +46,7 @@
4546

4647
.table table {
4748
border-collapse: collapse;
48-
font-size: 1.4rem;
49+
font-size: var(--size-default);
4950
text-align: left;
5051
}
5152

@@ -64,6 +65,11 @@
6465
padding-left: 0;
6566
}
6667

68+
.table td:last-child,
69+
.table th:last-child {
70+
padding-right: 0;
71+
}
72+
6773
.nowrap {
6874
white-space: nowrap;
6975
}

0 commit comments

Comments
 (0)