[livejournal] r17399: LJSUP-5225: Embed Placeholder
Committer: esavintcev
LJSUP-5225: Embed PlaceholderU trunk/cgi-bin/weblib.pl U trunk/htdocs/stc/lj_base.css
Modified: trunk/cgi-bin/weblib.pl
===================================================================
--- trunk/cgi-bin/weblib.pl 2010-09-17 02:34:27 UTC (rev 17398)
+++ trunk/cgi-bin/weblib.pl 2010-09-17 02:39:38 UTC (rev 17399)
@@ -2246,7 +2246,7 @@
$height -= 2;
return qq {
- <span class="LJ_Placeholder_Container" style="width: ${width}px; height: ${height}px; text-align: left;">
+ <span class="LJ_Placeholder_Container" style="width: ${width}px; height: ${height}px;">
<a href="$link" onclick="return LiveJournal.placeholderClick(this, '$placeholder_html')">
<img src="$img" class="LJ_Placeholder" title="Click to show embedded content" alt="" />
</a>
Modified: trunk/htdocs/stc/lj_base.css
===================================================================
--- trunk/htdocs/stc/lj_base.css 2010-09-17 02:34:27 UTC (rev 17398)
+++ trunk/htdocs/stc/lj_base.css 2010-09-17 02:39:38 UTC (rev 17399)
@@ -102,6 +102,7 @@
display:-moz-inline-box;
display:inline-block;
border:1px dashed #ccc;
+ text-align:center;
}
.LJ_Placeholder_Container A {
position:relative;
