@brightspace-ui/core 3.35.1 → 3.35.2

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.
@@ -19,6 +19,12 @@
19
19
  <d2l-button-icon icon="tier1:gear" text="Icon Button"></d2l-button-icon>
20
20
  </d2l-demo-snippet>
21
21
 
22
+ <h2>Demo Snippet (custom width)</h2>
23
+
24
+ <d2l-demo-snippet style="max-width: 80%;">
25
+ <d2l-button-icon icon="tier1:gear" text="Icon Button"></d2l-button-icon>
26
+ </d2l-demo-snippet>
27
+
22
28
  <h2>Demo Snippet (using template)</h2>
23
29
 
24
30
  <d2l-demo-snippet>
@@ -101,7 +101,7 @@ class DemoSnippet extends LitElement {
101
101
  border-top-left-radius: 0;
102
102
  border-top-right-radius: 0;
103
103
  margin: 0;
104
- max-width: inherit;
104
+ max-width: 100%;
105
105
  }
106
106
  :host([code-view-hidden]) d2l-code-view {
107
107
  display: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.35.1",
3
+ "version": "3.35.2",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",