Skip to content

Commit 4bd008a

Browse files
committed
Merge branch 'frontend-move-contact-us-guide'
2 parents 9910915 + 7fc8602 commit 4bd008a

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
.guide {
3131
background-color: var(--color-lightblue);
3232
color: white;
33+
display: flex;
34+
flex-direction: column;
3335
height: 100vh;
3436
/* mobile viewport bug fix */
3537
max-height: -webkit-fill-available;
@@ -48,8 +50,8 @@
4850

4951
.header {
5052
background-color: var(--color-blue);
53+
flex-shrink: 0;
5154
height: var(--header-height);
52-
margin-bottom: var(--space-default);
5355
padding: 0 var(--space-default);
5456
}
5557

@@ -65,6 +67,9 @@
6567
}
6668

6769
.content {
70+
display: flex;
71+
flex-direction: column;
72+
flex-grow: 1;
6873
padding: 0 var(--space-default);
6974
}
7075

@@ -93,6 +98,11 @@
9398
margin-top: var(--space-default);
9499
}
95100

101+
.appendix {
102+
padding-top: var(--space-half);
103+
margin-top: auto;
104+
}
105+
96106
.entryTitle {
97107
align-items: flex-start;
98108
cursor: default;

frontends/web/src/components/guide/guide.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const Guide = ({ children, title = t('guide.title') }: TProps) => {
5353
</div>
5454
<div className={style.content}>
5555
{children}
56-
<div className={style.entry}>
56+
<div className={style.appendix}>
5757
{t('guide.appendix.text')}
5858
{' '}
5959
<A className={style.link} href="https://bitbox.swiss/support/">

frontends/web/src/locales/en/app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -980,8 +980,8 @@
980980
}
981981
},
982982
"appendix": {
983-
"link": "Contact us!",
984-
"text": "Another question?"
983+
"link": "Visit the BitBox Support Hub",
984+
"text": "Need more help?"
985985
},
986986
"backups": {
987987
"check": {

0 commit comments

Comments
 (0)