Skip to content

Commit 46b51d8

Browse files
committed
my stories and profile
1 parent 681b5cf commit 46b51d8

File tree

10 files changed

+80
-24
lines changed

10 files changed

+80
-24
lines changed

src/assets/scss/components/dropdown.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@
9393
opacity: 0.08;
9494
}
9595

96-
@media only screen and (max-width: 281px) {
96+
@media only screen and (max-width: 500px) {
9797
.dropdown-container {
98-
padding: 0px 6px;
98+
padding: 0px;
9999
}
100100
}

src/assets/scss/components/editableLabel.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.editable-label {
22
align-items: center;
33
display: flex;
4+
justify-content: center;
45

56
button {
67
background-color: transparent;
@@ -18,4 +19,26 @@
1819
visibility: visible;
1920
}
2021
}
22+
23+
@media only screen and (max-width: 768px) {
24+
h2 {
25+
margin: 0.5rem 0;
26+
}
27+
28+
p {
29+
margin: 0.5rem 0;
30+
}
31+
32+
button.editable-label-edit-btn {
33+
display: none;
34+
}
35+
36+
&:hover {
37+
button {
38+
cursor: pointer;
39+
display: block;
40+
}
41+
}
42+
43+
}
2144
}

src/assets/scss/components/modal.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,4 @@
5454
transform: scale(1.2);
5555
}
5656
}
57+

src/assets/scss/components/navigation.scss

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@
1212
}
1313
}
1414

15-
// @media only screen and (max-width: 768px) {
16-
// .nav-header {
17-
// flex-direction: column;
18-
// }
19-
20-
// .navbar-content {
21-
// margin-top: 20px;
22-
// }
23-
// }
15+
@media only screen and (max-width: 768px) {
16+
.nav-header {
17+
padding: 22px 10px 0;
18+
}
19+
}

src/assets/scss/components/roadmap.scss

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
}
4242
}
4343

44+
.rdmap {
45+
margin: 10px 0;
46+
}
47+
4448
.roadmap-one {
4549
.btn-tabs {
4650

@@ -89,4 +93,26 @@
8993
margin: 0.8rem 0;
9094
}
9195
}
96+
97+
// .roadmap-one {
98+
// flex-direction: column;
99+
100+
.btn-tabs {
101+
margin: 0.5rem;
102+
width: 200px;
103+
}
104+
105+
// }
106+
}
107+
108+
@media (max-width: 600px) {
109+
.roadmap-one {
110+
flex-direction: column;
111+
}
112+
113+
.btn-tabs {
114+
margin: 0.3rem 0;
115+
text-align: left;
116+
width: 100%;
117+
}
92118
}

src/assets/scss/components/userProfile.scss

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
.user-profile-wrapper {
2+
align-items: center;
3+
justify-content: center;
4+
}
5+
16
.user-profile {
27
align-items: center;
38
display: flex;
@@ -70,9 +75,9 @@
7075
}
7176

7277
&-details {
73-
align-items: center;
7478
display: flex;
7579
flex-direction: column;
80+
padding: 0;
7681
width: auto;
7782
}
7883
}
@@ -93,8 +98,7 @@
9398
font-weight: bold;
9499
list-style: none;
95100
padding: $eos-m;
96-
97-
101+
98102
&:first-child {
99103
padding-left: 0;
100104
}
@@ -125,7 +129,6 @@
125129

126130
.user-profile-settings {
127131
@extend .user-profile-extra;
128-
129132
ul {
130133
flex-direction: column;
131134
width: 25%;
@@ -138,4 +141,11 @@
138141
}
139142
}
140143
}
144+
145+
@media only screen and (max-width: 768px) {
146+
ul {
147+
padding: 1rem;
148+
width: 100%;
149+
}
150+
}
141151
}

src/assets/scss/layout/avatar.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
}
99
}
1010

11-
// @media (max-width: 500px) {
12-
// .avatar {
13-
// height: 3.5em !important;
14-
// width: 3em !important;
15-
// }
16-
// }
11+
@media (max-width: 500px) {
12+
.user-avatar .avatar {
13+
height: 3.5em;
14+
width: 3em;
15+
}
16+
}

src/assets/scss/layout/layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ body {
1111
}
1212

1313
.eos-icons {
14-
margin-right: 0;
14+
margin-right: 12px;
1515
pointer-events: none;
1616
vertical-align: middle;
1717
}

src/pages/MyProfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const MyProfile = () => {
5656
) : (
5757
<div className='body-content'>
5858
<div className='body-wrapper'>
59-
<div className='flex flex-row'>
59+
<div className='flex flex-row user-profile-wrapper'>
6060
<div className='flex flex-column'>
6161
<UserProfile
6262
user={Object.assign(user, { id: userId })}

src/pages/Profile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ const Profile = (props) => {
187187
itemList={Lists.sortByList}
188188
/>
189189
</div>
190-
<div className='flex flex-row flex-space-between'>
190+
<div className='flex flex-row flex-space-between rdmap'>
191191
{Lists.stateList &&
192192
Lists.stateList.map((state, key) => {
193193
return (

0 commit comments

Comments
 (0)