Skip to content

Commit

Permalink
fix(formanswer): grid style updated for current version of gridstack
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Aug 1, 2022
1 parent 40c9ab7 commit 85b6a68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/formanswer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,8 @@ public function showForm($ID, $options = []) {
for ($i = 0; $i < PluginFormcreatorSection::COLUMNS; $i++) {
$width = ($i+1) * $width_percent;
$style.= '
#plugin_formcreator_form.plugin_formcreator_form [data-itemtype = "PluginFormcreatorQuestion"][data-gs-width="' . ($i+1) . '"],
#plugin_formcreator_form.plugin_formcreator_form .plugin_formcreator_gap[data-gs-width="' . ($i+1) . '"]
#plugin_formcreator_form.plugin_formcreator_form [data-itemtype = "PluginFormcreatorQuestion"][gs-w="' . ($i+1) . '"],
#plugin_formcreator_form.plugin_formcreator_form .plugin_formcreator_gap[gs-w="' . ($i+1) . '"]
{
min-width: ' . $width_percent . '%;
width: ' . $width . '%;
Expand Down

0 comments on commit 85b6a68

Please sign in to comment.