Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[ljcom] r10409: LJSUP-8445: S2 ljadskyscraper

Committer: esavintcev
LJSUP-8445: S2 ljadskyscraper
U   trunk/bin/upgrading/s2layers/voxhtml/layout.s2
U   trunk/htdocs/stc/voxhtml/default/screen.css
Modified: trunk/bin/upgrading/s2layers/voxhtml/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2011-04-21 03:11:09 UTC (rev 10408)
+++ trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2011-04-21 03:39:26 UTC (rev 10409)
@@ -1305,6 +1305,11 @@
 function Page::lay_sidebar_secondary() {
     var Page p = get_page();
     handle_sidebar_array($*sidebar_secondary);
+    if (viewer_sees_ad_box("s2.vertical.2")) {
+        """<div class="box-vertical2">""";
+        $p->print_ad_box("s2.vertical.2");
+        """</div>""";
+    }
     if (viewer_sees_ad_box("s2.box.yandex")) {
         """<div class="box-yandex">""";
         $p->print_ad_box("s2.box.yandex");

Modified: trunk/htdocs/stc/voxhtml/default/screen.css
===================================================================
--- trunk/htdocs/stc/voxhtml/default/screen.css	2011-04-21 03:11:09 UTC (rev 10408)
+++ trunk/htdocs/stc/voxhtml/default/screen.css	2011-04-21 03:39:26 UTC (rev 10409)
@@ -1806,6 +1806,10 @@
     text-align: left;
 }
 
+.box-vertical2 {
+    padding: 0 15px;
+}
+
 /* Supprt ------------------------------------------------------------------------------- */
 
 .support {

Tags: css, ljcom, s2, savintsev_egor
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments