Skip to content

Commit

Permalink
Repeater: Tab - Make sure label is hidden when subfield visibility is…
Browse files Browse the repository at this point in the history
… hidden
  • Loading branch information
nicolas-jaussaud committed Dec 11, 2024
1 parent dbaafa8 commit 4f50840
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/build/beaver-builder/index.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/default/index.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/elementor/index.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/wp/index.min.css

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion assets/src/components/repeater/layout/tab/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,14 @@
& > div[class*='tf-context-'] {
width: 100%;
}
}


/**
* Make sure we hide label for fields with visibility condition set
* to hide
*/
&:has(> .tf-repeater-tab-item-field > div[class*='tf-context-']:empty) {
display: none;
}

/**
Expand Down

0 comments on commit 4f50840

Please sign in to comment.