This is the Angular version of berg-layout.
Usage and demo here.
Since berg-layout uses web components, the layout styles are encapsulated in the shadow DOM.
You can still style them, but you need to use the pseudo element ::part() to pierce the encapsulation.
The panels have two ::part()
-
part="content"
which wraps your content -
part="overflow"
which handles overflow and wrapscontent
To for example, style content
, use ::part
.berg-panel-top {
&::part(content) {
padding: 16px;
}
}