issue115, fix style of tag-result icon-bar
authorAndreas Unterkircher <unki@netshadow.at>
Fri, 23 May 2008 08:39:04 +0000 (10:39 +0200)
committerAndreas Unterkircher <unki@netshadow.at>
Fri, 23 May 2008 08:42:40 +0000 (10:42 +0200)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
phpfspot.class.php
themes/default/stylesheet.css

index d2bb907..9c4321a 100644 (file)
@@ -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;
index 1c0ebcf..4aa376c 100644 (file)
@@ -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;