Skip to content

Commit 85b6a68

Browse files
committed
fix(formanswer): grid style updated for current version of gridstack
1 parent 40c9ab7 commit 85b6a68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/formanswer.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ public function showForm($ID, $options = []) {
497497
for ($i = 0; $i < PluginFormcreatorSection::COLUMNS; $i++) {
498498
$width = ($i+1) * $width_percent;
499499
$style.= '
500-
#plugin_formcreator_form.plugin_formcreator_form [data-itemtype = "PluginFormcreatorQuestion"][data-gs-width="' . ($i+1) . '"],
501-
#plugin_formcreator_form.plugin_formcreator_form .plugin_formcreator_gap[data-gs-width="' . ($i+1) . '"]
500+
#plugin_formcreator_form.plugin_formcreator_form [data-itemtype = "PluginFormcreatorQuestion"][gs-w="' . ($i+1) . '"],
501+
#plugin_formcreator_form.plugin_formcreator_form .plugin_formcreator_gap[gs-w="' . ($i+1) . '"]
502502
{
503503
min-width: ' . $width_percent . '%;
504504
width: ' . $width . '%;

0 commit comments

Comments
 (0)