diff options
Diffstat (limited to 'www')
| -rw-r--r-- | www/templates/image-modal.html | 13 | ||||
| -rw-r--r-- | www/templates/moment.html | 2 |
2 files changed, 10 insertions, 5 deletions
diff --git a/www/templates/image-modal.html b/www/templates/image-modal.html index d38ca5b9..a682a8e6 100644 --- a/www/templates/image-modal.html +++ b/www/templates/image-modal.html @@ -1,9 +1,14 @@ <ion-modal-view cache-view="false" style="background-color:#444444"> - <ion-content> - <ion-scroll direction="xy" scrollbar-x="false" scrollbar-y="false" overflow-scroll="false" zooming="true"> - <img on-double-tap="closeModal();" ng-src="{{thumbnailLarge}}" style="display:block; width:100%" /> + <ion-content ng-cloak on-double-tap="closeModal();" scroll="false"> - </ion-scroll> + + <div id="imagecontainer"> + <ion-scroll has-bouncing=false min-zoom=1 zooming="true" + direction="xy" style="width: 100%;" overflow-scroll="false"> + <img style="width:100vw; height:100vh;" on-double-tap="closeModal();" ng-src="{{thumbnailLarge}}" style="display:block; width:100%" /> + + </ion-scroll> + </div> </ion-content> </ion-modal-view> diff --git a/www/templates/moment.html b/www/templates/moment.html index 67a49652..12cc2c95 100644 --- a/www/templates/moment.html +++ b/www/templates/moment.html @@ -58,7 +58,7 @@ </div> - <div style="color:white" ng-if="!moments.length"> + <div style="color:white; text-align:center" ng-if="!moments.length"> {{loadingStatus}} </div> |
