Skip to content

Commit

Permalink
GroupBox: hide notification when box is collapsed
Browse files Browse the repository at this point in the history
All child elements except the group box header should be hidden
when the group box is collapsed.
  • Loading branch information
bschwarzent committed Mar 1, 2024
1 parent ed1058e commit 45caf7f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions eclipse-scout-core/src/form/fields/groupbox/GroupBox.less
Expand Up @@ -36,7 +36,9 @@
#scout.menubar-background-color-inherit;
}

&.collapsed > .menubar {
&.collapsed > .menubar,
&.collapsed > .notification,
&.collapsed > .group-box-body {
display: none;
}

Expand Down Expand Up @@ -187,10 +189,6 @@
padding-right: 0;
}

.collapsed > & {
display: none;
}

/* position scrollbar as right as possible to prevent overlapping field parts. */

& > .scrollbar {
Expand Down

0 comments on commit 45caf7f

Please sign in to comment.