summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-15 16:09:02 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-15 16:09:02 +0000
commit8b2b9d9fada346e9aa85dd75cb832ac66e959fbd (patch)
tree6b4b82db972c70e80c7aee6cf2f505933c17f4ee
parent5bf0159aa38d4d1b8952e0933cea14761c9de34e (diff)
issue47, long photo names now getting wraped
git-svn-id: file:///var/lib/svn/phpfspot/trunk@213 fa6a889d-dae6-447d-9e79-4ba9a3039384
-rw-r--r--stylesheet.css9
-rw-r--r--templates/single_photo.tpl2
2 files changed, 10 insertions, 1 deletions
diff --git a/stylesheet.css b/stylesheet.css
index a1c380e..fe2b2ef 100644
--- a/stylesheet.css
+++ b/stylesheet.css
@@ -17,6 +17,8 @@ table, tr, td {
td.options {
width: 250px;
+ max-width: 250px;
+ min-width: 250px;
padding: 2px;
padding-top: 8px;
border-top: solid 1px #000000;
@@ -63,6 +65,13 @@ td.index_header {
white-space: nowrap;
}
+td.photo_name {
+ background-color: #eeeeee;
+ padding: 10px;
+ vertical-align: middle;
+}
+
+
img {
border: none;
}
diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl
index 9f92693..5275843 100644
--- a/templates/single_photo.tpl
+++ b/templates/single_photo.tpl
@@ -1,7 +1,7 @@
<!-- Single photo -->
<table>
<tr>
- <td class="index_header" style="text-align: left;">
+ <td class="photo_name" style="text-align: left;">
<b>Photo {$image_name}</b><br />
&nbsp;{$description}<br />
</td>