Commit a4331dce authored by Chenu Denis's avatar Chenu Denis

Dev: Fix 19e594df

Dev: Can force global class with -1 or 1.1
parent 19e594df
...@@ -995,7 +995,7 @@ function setupColumns($columns, $answer_count,$wrapperclass="",$itemclass="") ...@@ -995,7 +995,7 @@ function setupColumns($columns, $answer_count,$wrapperclass="",$itemclass="")
{ {
$column_style = 'ul'; $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}"; $wrapperclass.= " colstyle-{$column_style}";
} }
......
...@@ -434,6 +434,7 @@ ul.subquestions-list .dynamic_remaining span{color:#999;} ...@@ -434,6 +434,7 @@ ul.subquestions-list .dynamic_remaining span{color:#999;}
padding: 0; padding: 0;
white-space: normal white-space: normal
display:block; display:block;
width:100%;
} }
.colstyle-ul li.answer-item .colstyle-ul li.answer-item
,.colstyle-ul.radio-list li.answer-item ,.colstyle-ul.radio-list li.answer-item
...@@ -474,7 +475,7 @@ ul.colstyle-css .answer-item ...@@ -474,7 +475,7 @@ ul.colstyle-css .answer-item
ul.colstyle-css .radio ul.colstyle-css .radio
,ul.colstyle-css .checkbox ,ul.colstyle-css .checkbox
{ {
float:left; float:left;width:100%;
} }
ul.colstyle-css label ul.colstyle-css label
{ {
......
...@@ -900,6 +900,7 @@ ul.colstyle-css,table.colstyle-table ...@@ -900,6 +900,7 @@ ul.colstyle-css,table.colstyle-table
ul.colstyle-css li,ul.colstyle-ul ul.colstyle-css li,ul.colstyle-ul
{ {
float: left; float: left;
width: 100%;
padding: 0; padding: 0;
white-space: normal white-space: normal
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment