center the screen image
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 3 Jan 2011 19:50:51 +0000 (14:50 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 3 Jan 2011 19:50:51 +0000 (14:50 -0500)
ansel/js/mobile.js
ansel/themes/default/mobile.css

index 556c2db..79b8671 100644 (file)
@@ -70,7 +70,6 @@ var AnselMobile = {
         $('#anselimageview').append(i);
         $('#imageview h1').text(AnselMobile.currentImages[index].fn)
         $('#imagebackbutton .ui-btn-text').text(AnselMobile.currentGallery.n);
-        //$('#gallerybackbutton').attr({ 'action': 'back' });
         $.mobile.changePage('imageview', 'slide', false, true);
     },
 
index 28947a9..2cb0ffb 100644 (file)
@@ -61,4 +61,8 @@ li.ansel-gallery p {
 
 #anselgalleryview ul.anselgalleries {
     margin: 15px;
+}
+
+#anselimageview {
+    text-align: center;
 }
\ No newline at end of file