Skip to content

Commit 072277c

Browse files
[6.x] Fix conditional field borders (#14407)
Fix conditional field borders
1 parent aa7eb05 commit 072277c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resources/css/core/utilities.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
=================================================== */
33
/* Here we extend Tailwind's classes to add additional functionality where we're sure it won't break anything. */
44

5-
/* If the next sibling is hidden (by a Vue conditional), remove the bottom border. For example, /cp/asset-containers/assets/edit, the Image Manipulation toggle. */
6-
.divide-y > *:has(+[style*="display: none"]:last-child) {
5+
/* If all the next siblings are hidden (by a Vue conditional), remove the bottom border. For example, /cp/asset-containers/assets/edit, the Image Manipulation toggle. */
6+
.divide-y > *:not(:has(~ :not([style*="display: none"]))) {
77
border-block-end: none;
88
}
99

0 commit comments

Comments
 (0)