]> source.dussan.org Git - nextcloud-server.git/commitdiff
Dashboard: No need to extend height of widgets if only one column is shown
authorJan C. Borchardt <hey@jancborchardt.net>
Thu, 20 Aug 2020 10:38:17 +0000 (12:38 +0200)
committerJulien Veyssier <eneiluj@posteo.net>
Thu, 20 Aug 2020 13:55:49 +0000 (15:55 +0200)
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
apps/dashboard/src/App.vue

index ac7112c8d93485085d0f08893e4556fbc5275b57..cd7b5140e259df6d6421e99d61a4a6e36dbd9523 100644 (file)
@@ -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 {