Skip to content

Commit

Permalink
Update gf-chained-select-enhancer.php
Browse files Browse the repository at this point in the history
Fixed handling of hidden lines.
  • Loading branch information
guilamu authored Nov 29, 2024
1 parent 28b7125 commit 75351a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gf-chained-select-enhancer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Chained Select Enhancer for Gravity Forms
* Plugin URI: https://github.com/guilamu/gf-chained-select-enhancer
* Description: Enhances Gravity Forms Chained Selects with auto-select functionality and column hiding options.
* Version: 1.00
* Version: 1.01
* Author: Guilamu
* Author URI: [email protected]
* Text Domain: gf-chained-select-enhancer
Expand Down Expand Up @@ -135,7 +135,7 @@ public function output_hide_columns_css() {
foreach ($columns as $column) {
$column = trim($column);
if (is_numeric($column)) {
$css .= "#input_{$form['id']}_{$field->id}_{$column} { display: none !important; }\n";
$css .= "#input_{$form['id']}_{$field->id}_{$column} { display: none !important; height: 0; margin: 0; padding: 0; overflow: hidden;}\n";
}
}
}
Expand Down

0 comments on commit 75351a3

Please sign in to comment.