From f54f70db50eeb4eb160d3cbceef09bdb6d667929 Mon Sep 17 00:00:00 2001
From: Dorian Merz <merz@ub.uni-leipzig.de>
Date: Tue, 20 Apr 2021 12:20:27 +0200
Subject: [PATCH] refs #19710 [fid_bbi] change iframe size to show matomo
 opt-out checkbox on privacy policy page

* adjust width of matomo iframe for all displays
---
 themes/fid/templates/fid/user/matomo.phtml | 2 +-
 themes/fid_bbi/scss/util/hacks.scss        | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/themes/fid/templates/fid/user/matomo.phtml b/themes/fid/templates/fid/user/matomo.phtml
index 038c715f252..7349df0d76e 100644
--- a/themes/fid/templates/fid/user/matomo.phtml
+++ b/themes/fid/templates/fid/user/matomo.phtml
@@ -11,5 +11,5 @@
     id="matomo" name="matomo"
     src="<?=$optOutUrl?>"
     frameborder="0"
-    scrolling="no">
+>
 </iframe>
\ No newline at end of file
diff --git a/themes/fid_bbi/scss/util/hacks.scss b/themes/fid_bbi/scss/util/hacks.scss
index 343c1fdf837..b13ecc889b8 100644
--- a/themes/fid_bbi/scss/util/hacks.scss
+++ b/themes/fid_bbi/scss/util/hacks.scss
@@ -131,3 +131,7 @@ a.active {
 .hidden {
   display: none;
 }
+
+iframe#matomo {
+  width: 97.5%;
+}
\ No newline at end of file
-- 
GitLab