Skip to content
This repository was archived by the owner on Aug 14, 2018. It is now read-only.

Commit c25702c

Browse files
Responsiveness
1 parent 3eda2fb commit c25702c

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

src/experts-profile.html

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,14 @@
8686
box-shadow : 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
8787
}
8888
paper-material {
89-
display : flex;
90-
flex-direction : row;
89+
@apply(--layout-horizontal);
90+
padding : 48px 103px 48px 48px;
91+
}
92+
paper-material {
9193
background : white;
9294
box-sizing : border-box;
9395
width : 70vw;
9496
min-height : 70vh;
95-
padding : 48px 103px 48px 48px;
9697
border-radius : 2px;
9798
margin : 128px 15vw 17px;
9899
transition : box-shadow 0.3s cubic-bezier(.25,.8,.25,1);
@@ -135,6 +136,19 @@
135136
white-space : pre-line;
136137
text-align : justify;
137138
}
139+
140+
141+
@media (max-width: 550px) {
142+
paper-material {
143+
@apply(--layout-vertical);
144+
padding : 24px 24px 24px 24px;
145+
}
146+
user-avatar {
147+
align-self: flex-end;
148+
padding-right : 0px;
149+
}
150+
}
151+
138152
iron-icon.edit {
139153
cursor: pointer;
140154
margin-left: 15px;

0 commit comments

Comments
 (0)