Skip to content

Commit

Permalink
Update gf-chained-select-enhancer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
guilamu authored Nov 29, 2024
1 parent 2a43342 commit b5b8a6b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion gf-chained-select-enhancer.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,13 @@ 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; height: 0; margin: 0; padding: 0; overflow: hidden;}\n";
$css .= "#input_{$form['id']}_{$field->id}_{$column}_container {
display: none !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
}\n";
}
}
}
Expand Down

0 comments on commit b5b8a6b

Please sign in to comment.