Skip to content

Commit

Permalink
remove continue button alignment class (moved to CSS to make it the d…
Browse files Browse the repository at this point in the history
…efault)
  • Loading branch information
becky-gilbert committed Jan 3, 2024
1 parent 2d13cd0 commit 12ccb6f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/plugin-survey/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
<link rel="stylesheet" href="../jspsych/css/jspsych.css" />
<link rel="stylesheet" href="css/survey.css" />
<style>
.continue-button-right div#sv-nav-complete {
margin-left: auto !important;
}
.continue-button-center div.sd-action-bar.sd-footer.sd-body__navigation {
justify-content: center !important;
}
Expand Down Expand Up @@ -254,8 +251,7 @@
const validation_trial = {
type: jsPsychSurvey,
survey_json: JSON.stringify(validation),
validation_function: validate_yes,
css_classes: ['continue-button-right']
validation_function: validate_yes
};

// dynamic survey example: center the continue button
Expand Down

0 comments on commit 12ccb6f

Please sign in to comment.