@berg-layout/core
v7.0.2
Published
This library contains the web-component version of berg-layout and all its styles.
Downloads
490
Maintainers
Readme
@berg-layout/core
This library contains the web-component version of berg-layout and all its styles.
Usage
Usage and demo here.
Documentation
Styling
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.
Styling panels
The panels have two ::part()
part="content"
which wraps your contentpart="overflow"
which handles overflow and wrapscontent
To for example, style content
, use ::part
.berg-panel-top {
&::part(content) {
padding: 16px;
}
}