diff --git a/resources/www/lightbox/styles/jquery-mobile/_jquery-validator.scss b/resources/www/lightbox/styles/jquery-mobile/_jquery-validator.scss
index 013a7ae0a7..67a0ad85cd 100644
--- a/resources/www/lightbox/styles/jquery-mobile/_jquery-validator.scss
+++ b/resources/www/lightbox/styles/jquery-mobile/_jquery-validator.scss
@@ -319,3 +319,8 @@ a.active_choice {
color: #313131;
padding: 6px 0 6px 30px;
}
+
+.pdf-iframe {
+ background: #1a1a1a;
+ padding-bottom: 10px;
+}
diff --git a/resources/www/lightbox/styles/main-mobile.scss b/resources/www/lightbox/styles/main-mobile.scss
index 7f53448267..e9ff61aa43 100644
--- a/resources/www/lightbox/styles/main-mobile.scss
+++ b/resources/www/lightbox/styles/main-mobile.scss
@@ -694,6 +694,9 @@ button.confirm_report {
iframe {
min-height: 240px;
width: auto;
+ .ui-mobile & {
+ width: 100%;
+ }
}
}
diff --git a/templates/mobile/common/thumbnail.html.twig b/templates/mobile/common/thumbnail.html.twig
index 250e8f0e98..d2b805d5fb 100644
--- a/templates/mobile/common/thumbnail.html.twig
+++ b/templates/mobile/common/thumbnail.html.twig
@@ -68,6 +68,8 @@
+ {% elseif record_type == 'PDF' %}
+
{% else %}
-
+
{% endblock %}