@momentum-design/components 0.104.15 → 0.104.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,17 +26,17 @@ class Appheader extends Component {
26
26
  * Uses `slots` for flexibility, allowing consumers to insert custom content.
27
27
  */
28
28
  render() {
29
- return html ` <header part="container">
30
- <div part="leading-section">
31
- <slot name="leading"></slot>
32
- </div>
33
- <div part="center-section">
34
- <slot name="center"></slot>
35
- </div>
36
- <div part="trailing-section">
37
- <slot name="trailing"></slot>
38
- </div>
39
- </header>`;
29
+ return html `
30
+ <header part="container">
31
+ <div part="leading-section">
32
+ <slot name="leading"></slot>
33
+ </div>
34
+ <div part="center-section"><slot name="center"></slot></div>
35
+ <div part="trailing-section">
36
+ <slot name="trailing"></slot>
37
+ </div>
38
+ </header>
39
+ `;
40
40
  }
41
41
  }
42
42
  Appheader.styles = [...Component.styles, ...styles];
@@ -15,13 +15,13 @@ const styles = css `
15
15
  :host::part(leading-section),
16
16
  :host::part(center-section),
17
17
  :host::part(trailing-section) {
18
- flex: 1;
19
18
  display: flex;
20
19
  height: 100%;
21
20
  }
22
21
 
23
22
  :host::part(leading-section) {
24
23
  justify-content: flex-start;
24
+ flex: 1;
25
25
  }
26
26
 
27
27
  :host::part(center-section) {
@@ -31,6 +31,7 @@ const styles = css `
31
31
 
32
32
  :host::part(trailing-section) {
33
33
  justify-content: flex-end;
34
+ flex: 1;
34
35
  }
35
36
  `;
36
37
  export default [styles];