Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[livejournal] r17815: LJSUP-7475: fixed width of cell with sel...

Committer: mchervonniy
LJSUP-7475: fixed width of cell with select-box on community directory
U   trunk/htdocs/community/directory.bml
Modified: trunk/htdocs/community/directory.bml
===================================================================
--- trunk/htdocs/community/directory.bml	2010-11-29 09:32:25 UTC (rev 17814)
+++ trunk/htdocs/community/directory.bml	2010-11-29 09:46:51 UTC (rev 17815)
@@ -47,7 +47,7 @@
     @caturls = sort { $a->{text} cmp $b->{text} } @caturls;
 
     $text .= "<tr><td style='border-bottom:1px solid #CCC;padding:10px 10px 10px 5px;font-weight:bold;'>Category</td>";
-    $text .= "<td style='border-bottom:1px solid #CCC;padding:10px 10px 10px 5px;'>" . LJ::html_select({
+    $text .= "<td style='border-bottom:1px solid #CCC;padding:10px 10px 10px 5px;width:100%;'>" . LJ::html_select({
                 name => "catid$i\_$n",
 		style => "width:100%;",
                 selected => $sel_cat[0] ? $sel_cat[0]->catid : '' },
@@ -190,7 +190,7 @@
                 $ret .= "<tr><td valign='top' style='border-bottom:1px solid #CCC;padding:10px 10px 10px 5px;font-weight:bold;'><!-- $i.-->Category</td>";
                 @verticals = map { { text => $_->{name}, value => $_->{vert_id} } } @verticals;
 
-                $ret .= "<td style='border-bottom:1px solid #CCC;padding:10px 10px 10px 5px;'>".LJ::html_select({
+                $ret .= "<td style='border-bottom:1px solid #CCC;padding:10px 10px 10px 5px;width:100%;'>".LJ::html_select({
                             name => "vert_id_$i",
 			    style => "width:100%;",
                             selected => $vert_[$j] ? $vert_[$j]->vert_id : 0,

Tags: bml, fiskus_boulder, livejournal
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