Skip to content

Commit

Permalink
Expose min-width of stripe-element
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Jan 14, 2018
1 parent f47df8c commit 85f14fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stripe-elements.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
box-shadow: 0 1px 3px 0 #e6ebf1;
-webkit-transition: box-shadow 150ms ease;
transition: box-shadow 150ms ease;
width: 100%;
min-width: 400px;
min-width: var(--stripe-elements-width, 300px);
@apply --stripe-elements-element;
}

Expand Down Expand Up @@ -109,6 +108,7 @@
*
* | Custom property | Description | Default |
* | --- | --- | --- |
* | `--stripe-elements-width` | Min-width of the stripe-element | 300px |
* | `--stripe-elements-element` | Mixin applied to the Stripe Element | {} |
* | `--stripe-elements-element-focus` | Mixin applied to the Stripe Element in its focussed state. | {} |
* | `--stripe-elements-element-invalid` | Mixin applied to the Stripe Element in ins invalid state | {} |
Expand Down

0 comments on commit 85f14fb

Please sign in to comment.