diff options
-rw-r--r-- | views/default/js/tagging.php | 4 | ||||
-rw-r--r-- | views/default/tidypics/css.php | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/views/default/js/tagging.php b/views/default/js/tagging.php index 323c2bf57..f7e764194 100644 --- a/views/default/js/tagging.php +++ b/views/default/js/tagging.php @@ -92,7 +92,9 @@ tag_div = $('<div class="tidypics_tag" id="tag'+tag.id+'"></div>').css({ left: tag_left + 'px', top: tag_top + 'px', width: tag.width + 'px', height: tag.height + 'px' });
- tag_text_div = $('<div class="tidypics_tag_text">'+tag.text+'</div>').css({ left: tag_left + 'px', top: tag_top + 'px', width: tag.width + 'px', height: 20 + 'px' });
+ text_top = parseInt(tag_top) + parseInt(tag.height) + 5;
+
+ tag_text_div = $('<div class="tidypics_tag_text">'+tag.text+'</div>').css({ left: tag_left + 'px', top: text_top + 'px', width: '120px'});
$('body').append(tag_div);
$('body').append(tag_text_div);
diff --git a/views/default/tidypics/css.php b/views/default/tidypics/css.php index 56d4efcad..a130453fb 100644 --- a/views/default/tidypics/css.php +++ b/views/default/tidypics/css.php @@ -243,13 +243,15 @@ z-index:0; .tidypics_tag_text { display:none; -border:2px solid #ffffff; overflow:hidden; position:absolute; z-index:0; -background: #ffffff; -text-align: center; -color: #4690d6; +text-align:center; +background:#BBDAF7; +border:1px solid #3B5999; +-webkit-border-radius:3px; +-moz-border-radius:3px; +padding:1px; } #tidypics_phototags_list { |