summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorlucas_nz <lucas_nz@outlook.com>2020-09-15 07:19:52 +1200
committerlucas_nz <lucas_nz@outlook.com>2020-09-15 07:19:52 +1200
commit78a9cc8e6c4c2206fb7ba5d035ceed7279fd5a85 (patch)
treeba399fd324d5b0a64415834b348f927d7e5362c2 /www/templates
parent69a9c8eabe059145f8a0599a44df2b6897ac3180 (diff)
large thumbs were being cropped a touch.
as they could be wider than the parent div (especially when the window is small). changes to events.html add a little more room for the large thumb. changes to EventCtrl.js ensure the thumb is never wider than the thumb div.
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/events.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/templates/events.html b/www/templates/events.html
index 7ce3c3f7..e8f5dfa7 100644
--- a/www/templates/events.html
+++ b/www/templates/events.html
@@ -69,7 +69,8 @@
<div class="col events-list-text">
<!-- data -->
<!-- for largeThumbs show image in this column -->
- <div ng-if="loginData.eventViewThumbs!='none' && thumbClass=='large'" width="100%" style="padding: 5px;">
+ <div ng-if="loginData.eventViewThumbs!='none' && thumbClass=='large'" width="100%"
+ style="padding-top: 5px; padding-bottom: 5px; margin-left: -5px; margin-right: -5px;">
<img bg-color="#6C7A89" ng-src="{{constructThumbnail(event)}}"
on-tap="closeIfOpen(event);openModalWithSnapshot(event)" width="{{event.Event.thumbWidth}}px"
height="{{event.Event.thumbHeight}}px" fallback-src="img/noimage.png"