Skip to content

Commit 370c480

Browse files
committed
account ui update
1 parent 4eb06ff commit 370c480

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858

5959
.form-container__divider {
6060
padding: #{20 / $base-font-size}rem 0;
61+
62+
@media (max-width: 770px) {
63+
text-align: center;
64+
}
6165
}
6266

6367
.form-container__logo-button {

client/styles/components/_forms.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,18 @@
5757

5858
.form__input {
5959
max-width: 90vw;
60-
width: #{360 / $base-font-size}rem;
60+
// width: #{360 / $base-font-size}rem;
61+
width: 100%;
6162
height: #{40 / $base-font-size}rem;
6263
font-size: #{16 / $base-font-size}rem;
6364
@include themify() {
6465
color: getThemifyVariable("form-input-text-color");
6566
background-color: getThemifyVariable("input-background-color");
6667
}
68+
69+
@media (max-width: 770px) {
70+
max-width: 100%;
71+
}
6772
}
6873

6974
.form__input-flexible-height {

0 commit comments

Comments
 (0)