Skip to content

Commit

Permalink
Dev: Fix 19e594d
Browse files Browse the repository at this point in the history
Dev: Can force global class with -1 or 1.1
  • Loading branch information
Shnoulle committed Mar 22, 2013
1 parent d812629 commit 0536ac5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/helpers/common_helper.php
Expand Up @@ -947,7 +947,7 @@ function setupColumns($columns, $answer_count,$wrapperclass="",$itemclass="")
{
$column_style = 'ul';
};
if(!is_null($column_style)) // Add a global class for all column, 1 column too.
if(!is_null($column_style) && $columns!=1) // Add a global class for all column.
{
$wrapperclass.= " colstyle-{$column_style}";
}
Expand Down
3 changes: 2 additions & 1 deletion templates/citronade/template.css
Expand Up @@ -434,6 +434,7 @@ ul.subquestions-list .dynamic_remaining span{color:#999;}
padding: 0;
white-space: normal
display:block;
width:100%;
}
.colstyle-ul li.answer-item
,.colstyle-ul.radio-list li.answer-item
Expand Down Expand Up @@ -474,7 +475,7 @@ ul.colstyle-css .answer-item
ul.colstyle-css .radio
,ul.colstyle-css .checkbox
{
float:left;
float:left;width:100%;
}
ul.colstyle-css label
{
Expand Down
1 change: 1 addition & 0 deletions templates/default/template.css
Expand Up @@ -900,6 +900,7 @@ ul.colstyle-css,table.colstyle-table
ul.colstyle-css li,ul.colstyle-ul
{
float: left;
width: 100%;
padding: 0;
white-space: normal
}
Expand Down

0 comments on commit 0536ac5

Please sign in to comment.