Skip to content

Commit f365644

Browse files
authored
Merge pull request #2400 from dewanshDT/develop
Account Settings Page UI for mobile devices
2 parents c3bd42f + 27650bb commit f365644

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

client/styles/components/_account.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
background-color: getThemifyVariable('background-color');
55
}
66
min-height: 100%;
7+
8+
@media (max-width: 770px) {
9+
.account-settings__header {
10+
display: none;
11+
}
12+
}
713
}
814

915
.account-settings {
@@ -24,6 +30,16 @@
2430

2531
.account__social-stack {
2632
display: flex;
33+
@media (max-width: 770px) {
34+
flex-direction: column;
35+
align-items: center;
36+
gap: #{15 / $base-font-size}rem;
37+
38+
button, a {
39+
width: 100% !important;
40+
margin-right: 0;
41+
}
42+
}
2743
}
2844

2945
.account__social-stack > * {

client/styles/components/_form-container.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
.form-container__content {
3131
height: 100%;
32+
max-width: 90vw;
3233
display: flex;
3334
flex-direction: column;
3435
justify-content: center;
@@ -59,6 +60,10 @@
5960

6061
.form-container__divider {
6162
padding: #{20 / $base-font-size}rem 0;
63+
64+
@media (max-width: 770px) {
65+
text-align: center;
66+
}
6267
}
6368

6469
.form-container__logo-button {

client/styles/components/_forms.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,19 @@
5656
}
5757

5858
.form__input {
59-
max-width: 90vw;
60-
width: #{360 / $base-font-size}rem;
59+
min-width: #{355 / $base-font-size}rem;
60+
width: 100%;
6161
height: #{40 / $base-font-size}rem;
6262
font-size: #{16 / $base-font-size}rem;
6363
@include themify() {
6464
color: getThemifyVariable("form-input-text-color");
6565
background-color: getThemifyVariable("input-background-color");
6666
}
67+
68+
@media (max-width: 770px) {
69+
max-width: 100%;
70+
width:100%;
71+
}
6772
}
6873

6974
.form__input-flexible-height {

0 commit comments

Comments
 (0)