From 11e8fe3085d17fed5103ddcc22a7ab411ecd114c Mon Sep 17 00:00:00 2001 From: marijus Date: Mon, 20 Oct 2014 15:05:33 +0200 Subject: more work on photos --- view/css/mod_photos.css | 14 ++------- view/tpl/photo_view.tpl | 75 +++++++++++++++++++++++++++---------------------- 2 files changed, 43 insertions(+), 46 deletions(-) (limited to 'view') diff --git a/view/css/mod_photos.css b/view/css/mod_photos.css index 5f8ed6124..90b70b122 100644 --- a/view/css/mod_photos.css +++ b/view/css/mod_photos.css @@ -3,19 +3,9 @@ margin-bottom: 25px; } -#photo-view-wrapper { - float:left; - min-width: 500px; - overflow: hidden; -} - -#photo-prev-link, #photo-next-link { - padding: 10px; - float: left; -} - #photo-photo { - float: left; + display: table; + margin: 0 auto; } #photo-photo-end { diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index 4961464dc..e7259cec2 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -1,39 +1,33 @@
-
-

{{$album.1}}

+
-