summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2021-11-22 13:17:40 +0100
committernextcloud-command <nextcloud-command@users.noreply.github.com>2021-11-23 14:18:47 +0000
commit7b4c6fe06627a073eb32dfb9afb894dfe00c0e8c (patch)
tree613f24506b9da6f0e41eb5a782704924a263837b /core/src
parent9b0b0fc8d3daf9b151e3abc0671bb13fbf648a59 (diff)
downloadnextcloud-server-7b4c6fe06627a073eb32dfb9afb894dfe00c0e8c.tar.gz
nextcloud-server-7b4c6fe06627a073eb32dfb9afb894dfe00c0e8c.zip
make profile page usable on mobile
Signed-off-by: szaimen <szaimen@e.mail.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/views/Profile.vue46
1 files changed, 46 insertions, 0 deletions
diff --git a/core/src/views/Profile.vue b/core/src/views/Profile.vue
index 115d9483275..2d85f34231e 100644
--- a/core/src/views/Profile.vue
+++ b/core/src/views/Profile.vue
@@ -512,6 +512,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;