File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed
components/contextualhelp Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @spectrum-css/contextualhelp " : patch
3
+ ---
4
+
5
+ Added a --mod property to allow consumers to set a max-width property to contextual help component.
Original file line number Diff line number Diff line change 23
23
24
24
position : relative;
25
25
min-inline-size : var (--mod-spectrum-contextual-help-minimum-width , var (--spectrum-contextual-help-minimum-width ));
26
+
27
+ /* Allow users to customize max-width of a contextual help component - SWC Issue #4791 */
28
+ max-inline-size : var (--mod-spectrum-contextual-help-maximum-width );
26
29
}
27
30
28
31
.spectrum-ContextualHelp-button {
Original file line number Diff line number Diff line change 15
15
" --mod-spectrum-contextual-help-content-spacing" ,
16
16
" --mod-spectrum-contextual-help-heading-size" ,
17
17
" --mod-spectrum-contextual-help-link-spacing" ,
18
+ " --mod-spectrum-contextual-help-maximum-width" ,
18
19
" --mod-spectrum-contextual-help-minimum-width" ,
19
20
" --mod-spectrum-contextual-help-padding"
20
21
],
Original file line number Diff line number Diff line change 6
6
| ` --mod-spectrum-contextual-help-content-spacing ` |
7
7
| ` --mod-spectrum-contextual-help-heading-size ` |
8
8
| ` --mod-spectrum-contextual-help-link-spacing ` |
9
+ | ` --mod-spectrum-contextual-help-maximum-width ` |
9
10
| ` --mod-spectrum-contextual-help-minimum-width ` |
10
11
| ` --mod-spectrum-contextual-help-padding ` |
You can’t perform that action at this time.
0 commit comments