Skip to content

Commit 60a9b9c

Browse files
committed
Fixed the height and responsive layout of account settings
1 parent 01dca7f commit 60a9b9c

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

client/styles/components/_account.scss

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
color: getThemifyVariable('primary-text-color');
44
background-color: getThemifyVariable('background-color');
55
}
6-
height: 100%;
6+
min-height: 100%;
77
}
88

99
.account-settings {
@@ -29,3 +29,22 @@
2929
.account__social-stack > * {
3030
margin-right: #{15 / $base-font-size}rem;
3131
}
32+
33+
// @media screen and (max-width: 767px) {
34+
// .social_button_github,
35+
// .social_button_google {
36+
// display: block;
37+
// width: 100%;
38+
// margin-bottom: 10px;
39+
// }
40+
// }
41+
42+
@media screen and (min-width: 10%) {
43+
.social_button_github,
44+
.social_button_google {
45+
display: inline-block;
46+
width: auto;
47+
margin-bottom: 0;
48+
}
49+
}
50+

client/styles/components/_forms.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
.form__input {
5454
width: 100%;
55-
min-width: #{360 / $base-font-size}rem;
55+
min-width: 10%;
5656
height: #{40 / $base-font-size}rem;
5757
font-size: #{16 / $base-font-size}rem;
5858
@include themify() {

client/styles/components/_nav.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
display: flex;
2020
flex-direction: row;
2121
justify-content: flex-end;
22+
min-width: 10%;
2223
height: 100%;
2324
align-items: center;
2425
}

0 commit comments

Comments
 (0)