Skip to content

Commit 96941ca

Browse files
committed
Inherit font-size
1 parent b0908ce commit 96941ca

File tree

8 files changed

+24
-1
lines changed

8 files changed

+24
-1
lines changed

src/components/Modal.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@
3737
border-radius: 10px;
3838
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
3939
font-family: "Helvetica Neue";
40+
font-size: inherit;
4041
padding: 1.33em;
4142
position: relative;
4243
overflow: hidden;
43-
max-width: 36em;
44+
max-width: 37em;
4445
color: #4a4a4a;
4546
}
4647
@@ -51,6 +52,7 @@
5152
padding: 0.8em;
5253
top: 1.33em;
5354
right: 1.33em;
55+
font-size: inherit;
5456
border-radius: 5px;
5557
transition: background 200ms ease-in-out;
5658
display: flex;

src/components/ModalHeader.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
header {
1010
display: flex;
1111
align-items: center;
12+
font-size: inherit;
1213
margin-bottom: 0.66em;
1314
}
1415
@@ -17,6 +18,7 @@
1718
display: flex;
1819
justify-content: center;
1920
align-items: center;
21+
font-size: inherit;
2022
padding: 0.6em;
2123
border-radius: 30px;
2224
background: #eeeeee;

src/components/SelectedWallet.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
<style>
1212
section {
1313
color: inherit;
14+
font-size: inherit;
1415
display: block;
1516
}
1617
1718
footer {
1819
display: flex;
20+
font-size: inherit;
1921
justify-content: space-between;
2022
}
2123
</style>

src/components/Wallets.svelte

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,32 @@
2020
max-height: 66vh;
2121
overflow-y: scroll;
2222
padding: 0;
23+
scrollbar-width: none;
2324
font-family: "Helvetica Neue";
25+
font-size: inherit;
2426
line-height: 1.15;
2527
box-sizing: border-box;
2628
}
2729
2830
div {
2931
width: 100%;
3032
display: flex;
33+
font-size: inherit;
3134
justify-content: center;
3235
}
3336
37+
::-webkit-scrollbar {
38+
display: none;
39+
}
40+
3441
@media only screen and (max-width: 700px) {
3542
ul li {
3643
width: 100%;
3744
}
45+
46+
ul {
47+
scrollbar-width: unset;
48+
}
3849
}
3950
</style>
4051

src/elements/IconButton.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
border: none;
1616
margin: 0.33em 0;
1717
background: inherit;
18+
font-size: inherit;
1819
width: 18em;
1920
padding: 0.625em 1.25em;
2021
transition: box-shadow 150ms ease-in-out, background 200ms ease-in-out;

src/elements/IconDisplay.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
align-items: center;
1212
border: none;
1313
margin: 0;
14+
font-size: inherit;
1415
background: inherit;
1516
padding: 0;
1617
width: 18em;
@@ -26,6 +27,7 @@
2627
span {
2728
margin-left: 0.66em;
2829
font-weight: bold;
30+
font-size: inherit;
2931
opacity: 0.7;
3032
text-align: left;
3133
}

src/elements/Spinner.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
}
88
.bn-onboard-loading div {
99
box-sizing: border-box;
10+
font-size: inherit;
1011
display: block;
1112
position: absolute;
1213
width: 2em;

src/views/WalletSelect.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,14 @@
169169
/* .bn-onboard-select-info-container */
170170
div {
171171
display: flex;
172+
font-size: inherit;
172173
justify-content: space-between;
173174
}
174175
175176
/* .bn-onboard-select-wallet-info */
176177
div span {
177178
color: #4a90e2;
179+
font-size: inherit;
178180
margin-top: 0.66em;
179181
cursor: pointer;
180182
}

0 commit comments

Comments
 (0)