Skip to content
Snippets Groups Projects
Commit e295663d authored by Eliott Sammier's avatar Eliott Sammier
Browse files

Style adjustments to gap-fill

parent c09287a1
Branches
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ let gapfillSelectWidget = {
Survey.Serializer.addClass(this.name, [], null, "empty");
},
/** Static HTML template rendered by SurveyJS */
htmlTemplate: '<p id="gapfill-container"><template id="template-select"><select class="my-custom-class"><option selected/></select></template></p>',
htmlTemplate: '<p id="gapfill-container"><template id="template-select"><select class="sd-input sd-dropdown inline-dropdown"><option selected/></select></template></p>',
/**
* Function called after the HTML template is rendered. This time we actually have the `question` object
* and the `el` element, to build the question according to the JSON
......
......@@ -9,4 +9,11 @@
p#gapfill-container {
white-space: pre-wrap;
line-height: 3em;
}
select.sd-dropdown.inline-dropdown {
display: inline-block;
width: fit-content;
padding: 8px;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment