File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/@adobe/spectrum-css-temp/components/stepper Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ governing permissions and limitations under the License.
34
34
35
35
block-size : max-content;
36
36
37
- inline-size : var (--spectrum-stepper-default-width-desktop );
37
+ --spectrum-stepper-width : var (--spectrum-stepper-default-width-desktop );
38
+ inline-size : var (--spectrum-stepper-width );
38
39
line-height : 0 ;
39
40
transition : border-color var (--spectrum-global-animation-duration-100 ) ease-in-out, box-shadow var (--spectrum-global-animation-duration-100 ) ease-in-out;
40
41
@@ -59,7 +60,8 @@ governing permissions and limitations under the License.
59
60
}
60
61
}
61
62
& .spectrum-Stepper--isMobile {
62
- inline-size : var (--spectrum-stepper-default-width-mobile );
63
+ /* Use a variable here rather than inline-size directly so we don't conflict with form style override. */
64
+ --spectrum-stepper-width : var (--spectrum-stepper-default-width-mobile );
63
65
grid-template-rows : auto;
64
66
grid-template-columns : auto 1fr auto;
65
67
grid-template-areas : 'decrement field increment' ;
You can’t perform that action at this time.
0 commit comments