summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-05-23 10:39:04 +0200
committerAndreas Unterkircher <unki@netshadow.at>2008-05-23 10:42:40 +0200
commitf5e9c6d998d5f625b0694db4c7a47f9c63cfdd3a (patch)
treece3f88167f268ce53f71f87c541600567d68e8d2
parent597c52097954f47e89451fea0086cf9c606be7d2 (diff)
issue115, fix style of tag-result icon-bar
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r--phpfspot.class.php15
-rw-r--r--themes/default/stylesheet.css13
2 files changed, 15 insertions, 13 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index d2bb907..9c4321a 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -778,17 +778,10 @@ class PHPFSPOT {
break;
case 'img':
$output.= "
- <div style=\"display: table-cell;\">
- <div style=\"display: table-row; text-align: center;\">
- <a href=\"javascript:Tags('del', ". $tag .");\" title=\"". $this->tags[$tag] ."\">
- <img src=\"". $this->cfg->web_path ."/phpfspot_img.php?tagidx=". $tag ."\" />
- </a>
- </div>
- <div style=\"display: table-row; text-align: center;\">
- <a href=\"javascript:Tags('del', ". $tag .");\" title=\"". $this->tags[$tag] ."\">
- <img src=\"". $this->cfg->web_path ."/resources/underbar.png\" />
- </a>
- </div>
+ <div class=\"tagresulttag\">
+ <a href=\"javascript:Tags('del', ". $tag .");\" title=\"". $this->tags[$tag] ."\">
+ <img src=\"". $this->cfg->web_path ."/phpfspot_img.php?tagidx=". $tag ."\" />
+ </a>
</div>
";
break;
diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css
index 1c0ebcf..4aa376c 100644
--- a/themes/default/stylesheet.css
+++ b/themes/default/stylesheet.css
@@ -105,8 +105,15 @@ div.tagresult{
}
div.tagresulttags{
- padding: 5px 10px 5px 10px;
+ padding: 5px 0px 5px 10px;
background-color: #eeeeee;
+ vertical-align: middle;
+}
+
+div.tagresulttag{
+ padding: 0 0 0 5px;
+ background-color: #eeeeee;
+ display: inline;
}
div.photo{
@@ -220,7 +227,9 @@ div.thumb a.thumblink:hover {
color: #4761ab;
}
-.cb { clear: both; }
+.cb {
+ clear: both;
+}
#photo_details {
width: 150px;