summaryrefslogtreecommitdiffstats
path: root/apps/dashboard/src
diff options
context:
space:
mode:
authorJan C. Borchardt <hey@jancborchardt.net>2020-08-20 12:38:17 +0200
committerJulien Veyssier <eneiluj@posteo.net>2020-08-20 15:55:49 +0200
commitdb42b4691f370576931d7e345c9fe0838116565d (patch)
tree38f1887b3e21a7e11fc62d11df3b5ea7831a523d /apps/dashboard/src
parent03603db486debbb31dfa05486f3b10338a28b50c (diff)
downloadnextcloud-server-db42b4691f370576931d7e345c9fe0838116565d.tar.gz
nextcloud-server-db42b4691f370576931d7e345c9fe0838116565d.zip
Dashboard: No need to extend height of widgets if only one column is shown
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/dashboard/src')
-rw-r--r--apps/dashboard/src/App.vue7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue
index ac7112c8d93..cd7b5140e25 100644
--- a/apps/dashboard/src/App.vue
+++ b/apps/dashboard/src/App.vue
@@ -392,6 +392,13 @@ export default {
height: 420px;
overflow: auto;
}
+
+ // No need to extend height of widgets if only one column is shown
+ @media only screen and (max-width: 709px) {
+ & > .panel--content {
+ height: auto;
+ }
+ }
}
.footer {