Skip to content

Commit

Permalink
make profile page usable on mobile
Browse files Browse the repository at this point in the history
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
szaimen authored and backportbot[bot] committed Nov 23, 2021
1 parent a33e0a6 commit a153c82
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions core/src/views/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,52 @@ $content-max-width: 640px;
}
}
@media only screen and (max-width: 1024px) {
.profile {
&__header {
height: 250px;
position: unset;
&__container {
grid-template-columns: unset;
&__displayname {
margin: 100px 20px 0px;
width: unset;
display: unset;
text-align: center;
}
&__edit-button {
width: fit-content;
display: block;
margin: 30px auto;
}
}
}
&__content {
display: block;
}
&__blocks {
width: unset;
max-width: 600px;
margin: 0 auto;
padding: 20px 50px 50px 50px;
&-empty-info {
margin: 0;
}
}
&__sidebar {
margin: unset;
position: unset;
}
}
}
.user-actions {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit a153c82

Please sign in to comment.