diff --git a/war/src/main/scss/form/_reorderable-list.scss b/war/src/main/scss/form/_reorderable-list.scss index 577f1853d4b9..c19152975d2e 100644 --- a/war/src/main/scss/form/_reorderable-list.scss +++ b/war/src/main/scss/form/_reorderable-list.scss @@ -29,6 +29,10 @@ visibility: visible; } +.repeated-chunk.first.last .show-if-not-only { + visibility: hidden; +} + /* == nested repeatable elements / 2 deep == */ .repeated-chunk .repeated-chunk .show-if-last { visibility: hidden; @@ -50,6 +54,10 @@ visibility: visible; } +.repeated-chunk .repeated-chunk.first.last .show-if-not-only { + visibility: hidden; +} + /* == nested repeatable elements / 3 deep == */ .repeated-chunk .repeated-chunk .repeated-chunk .show-if-last { visibility: hidden; @@ -67,10 +75,14 @@ visibility: hidden; } -.repeated-chunk .repeated-chunk .show-if-not-only { +.repeated-chunk .repeated-chunk .repeated-chunk .show-if-not-only { visibility: visible; } +.repeated-chunk .repeated-chunk .repeated-chunk.first.last .show-if-not-only { + visibility: hidden; +} + /*
s marked with to-be-removed is used in conjunction with repeatable.jelly and hetero-list.jelly and represents a master copy that gets pulled out from HTML, then inserted later upon demand multiple times