From a682d6e5ae5dfb4199bdcef14163460767f65ddc Mon Sep 17 00:00:00 2001 From: Johann Hoffmann Date: Wed, 13 Nov 2024 18:14:58 +0100 Subject: [PATCH] overflow-y scroll changed to overflow-y auto -> avoid unnecessary scrollbars --- public/css/components/dashboard/news.css | 6 ++---- public/js/components/DashboardWidget/News.js | 6 +++--- public/js/components/DashboardWidget/Stundenplan.js | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/public/css/components/dashboard/news.css b/public/css/components/dashboard/news.css index 013401bc8..bb3bd0d62 100644 --- a/public/css/components/dashboard/news.css +++ b/public/css/components/dashboard/news.css @@ -18,7 +18,5 @@ } .widgets-news .card-body{ - - /*max-height: calc(var(--news-widget-height)*var(--fhc-dg-row-height)); */ - overflow:scroll; -} \ No newline at end of file + overflow: hidden; +} \ No newline at end of file diff --git a/public/js/components/DashboardWidget/News.js b/public/js/components/DashboardWidget/News.js index 1196a04b0..d0645c95a 100644 --- a/public/js/components/DashboardWidget/News.js +++ b/public/js/components/DashboardWidget/News.js @@ -61,7 +61,7 @@ export default { this.$refs.newsModal.show(); }, }, - template: /*html*/ `
+ template: /*html*/ `
@@ -69,10 +69,10 @@ export default { {{$p.t('news','allNews')}}
-
+
-
+ diff --git a/public/js/components/DashboardWidget/Stundenplan.js b/public/js/components/DashboardWidget/Stundenplan.js index dbf485a7b..2e2fc26f4 100644 --- a/public/js/components/DashboardWidget/Stundenplan.js +++ b/public/js/components/DashboardWidget/Stundenplan.js @@ -189,7 +189,7 @@ export default {