Fixed questionset styling in boardgame.

pull/1/head
Frode Petterson 2013-05-03 12:42:20 +02:00
parent bde6f57f5a
commit 9beae17e5d
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@
text-align: left; text-align: left;
font-size: 1.25em; font-size: 1.25em;
line-height: 1.25em; line-height: 1.25em;
margin: 1em 4em; margin: 1em 3em;
padding-left: 3em; padding-left: 3em;
min-height: 3em; min-height: 3em;
background-repeat: no-repeat; background-repeat: no-repeat;

View File

@ -35,7 +35,7 @@ H5P.QuestionSet = function (options, contentId) {
'</div>' + '</div>' +
'<% } %>' + '<% } %>' +
'<div class="questionset<% if (introPage.showIntroPage) { %> hidden<% } %>">' + '<div class="questionset<% if (introPage.showIntroPage) { %> hidden<% } %>">' +
' <div class="title"><%= title %></div>' + ' <% if (title !== "") { %><div class="title"><%= title %></div><% } %>' +
' <% for (var i=0; i<questions.length; i++) { %>' + ' <% for (var i=0; i<questions.length; i++) { %>' +
' <div class="question-container" id="q-<%= i %>">' + ' <div class="question-container" id="q-<%= i %>">' +
' <div><%= questions[i].library %></div>' + ' <div><%= questions[i].library %></div>' +