Skip to content

Commit

Permalink
Fixed issue #10844: Various issues using the LS 2.50 default template
Browse files Browse the repository at this point in the history
Dev: Center radio buttons in inc-same-dec array.
  • Loading branch information
olleharstedt committed Apr 8, 2016
1 parent f515c52 commit e82c127
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Expand Up @@ -24,7 +24,7 @@
echo $sColumns;
?>
</colgroup>
<thead>
<thead class="thead-inc-same-dec">
<tr class="array1 dontread">
<th>&nbsp;</th>

Expand Down
Expand Up @@ -18,7 +18,7 @@
?>

<!-- answer_row -->
<tr id="javatbd<?php echo $myfname;?>" class="well answers-list radio-list array<?php echo $zebra; ?>" <?php echo $sDisplayStyle; ?>>
<tr id="javatbd<?php echo $myfname;?>" class="row-inc-same-dec well answers-list radio-list array<?php echo $zebra; ?>" <?php echo $sDisplayStyle; ?>>
<!-- Answer text / Errors -->
<th class="answertext">
<input type="hidden" name="java<?php echo $myfname;?>" id="java<?php echo $myfname;?>" value="<?php echo $value;?>" />
Expand Down
11 changes: 11 additions & 0 deletions templates/default/css/template.css
Expand Up @@ -843,10 +843,21 @@ table.question.subquestion-list.questions-list tr th.answertext {
right: 1em;
}

/* Used for multiple numeric sum and remain
* Overwrite Bootstrap label font-size 75% */
.label {
font-size: 90%;
}

/* Increase-same-decrease array */
.row-inc-same-dec .radio-item {
text-align: center;
}

.thead-inc-same-dec th {
text-align: center;
}

/**
* No more tables
* OBS: Media specific CSS should be last in this file.
Expand Down

0 comments on commit e82c127

Please sign in to comment.