Skip to content

Commit e901c8d

Browse files
committed
update layout
1 parent 0ad2bab commit e901c8d

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
<style>
1919
.input-answer {
2020
margin-bottom: 1em;
21+
margin-left: 1em;
22+
font-weight: normal;
2123
}
2224
</style>
2325
</head>
@@ -29,6 +31,11 @@
2931
url: window.location.url,
3032
allowStyleInjection: true,
3133
});
34+
function updateLayout() {
35+
parent.send({
36+
type: 'updateLayout'
37+
});
38+
}
3239

3340

3441
</script>
@@ -186,9 +193,10 @@
186193
event.preventDefault();
187194
var result = dataGetter()
188195
parent.send(result);
196+
updateLayout();
189197
};
190198

191-
199+
192200
let fileUrl;
193201
let divMultipleChoice = document.getElementById('div_answers_mc');
194202
let divSingleChoice = document.getElementById('div_answers_sc');

0 commit comments

Comments
 (0)