-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update gf-chained-select-enhancer.php
Fixed handling of hidden lines.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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"; | ||
} | ||
} | ||
} | ||
|