You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Remove local definition of --uui-box-default-padding for uui-box (#189)
* remove local definition of --uui-box-default-padding
* better description of slots
* test --uui-box-default-padding can be defined outside scope
BREAKING CHANGE: This should now be configured globally
Copy file name to clipboardExpand all lines: packages/uui-box/lib/uui-box.element.ts
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ import { UUITextStyles } from '@umbraco-ui/uui-css/lib';
6
6
/**
7
7
* A box for grouping elements
8
8
* @element uui-box
9
-
* @slot headline - headline area
10
-
* @slot header - headline area
9
+
* @slot headline - headline area, this area is placed within the headline tag which is located inside the header. Use this to ensure the right headline styling.
10
+
* @slot header - header area, use this for things that is not the headline but located in the header.
11
11
* @slot default - area for the content of the box
12
12
* @cssprop --uui-box-default-padding - overwrite the box padding
13
13
*
@@ -22,7 +22,6 @@ export class UUIBoxElement extends LitElement {
0 commit comments