Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ governing permissions and limitations under the License.

block-size: max-content;

inline-size: var(--spectrum-stepper-default-width-desktop);
--spectrum-stepper-width: var(--spectrum-stepper-default-width-desktop);
inline-size: var(--spectrum-stepper-width);
line-height: 0;
transition: border-color var(--spectrum-global-animation-duration-100) ease-in-out, box-shadow var(--spectrum-global-animation-duration-100) ease-in-out;

Expand All @@ -59,7 +60,8 @@ governing permissions and limitations under the License.
}
}
&.spectrum-Stepper--isMobile {
inline-size: var(--spectrum-stepper-default-width-mobile);
/* Use a variable here rather than inline-size directly so we don't conflict with form style override. */
--spectrum-stepper-width: var(--spectrum-stepper-default-width-mobile);
grid-template-rows: auto;
grid-template-columns: auto 1fr auto;
grid-template-areas: 'decrement field increment';
Expand Down