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 09:18:50 +0000
commit4d92f42f199fadf14a432225055b866ef326e979 (patch)
tree0ee3552723dac6e3ed09ff6640ffc92018f21079 /core/src
parent129de6079e53e0ac9dbf9d7c25ec1670ae0ff572 (diff)
downloadnextcloud-server-4d92f42f199fadf14a432225055b866ef326e979.tar.gz
nextcloud-server-4d92f42f199fadf14a432225055b866ef326e979.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;