Open gusdecool opened 8 years ago
gold-cc-input gold-cc-expiration-input gold-cc-cvc-input
gold-cc-input
gold-cc-expiration-input
gold-cc-cvc-input
conflict with bootstrap .container class make the input field appear too long
.container
The class name should prefixed with element name, e.g: .gold-cc-input-container
.gold-cc-input-container
The input field is too long following container width in bootstrap
didn't have live demo
<div class="container"> <div class="row"> <div class="col-md-6"> <gold-cc-input></gold-cc-input> </div> </div> </div>
This is a limitation of the shady DOM shim -- in real shadow dom world, the style would be encapsulated, and this wouldn't happen.
Would you be interested in sending a PR to fix this in the meantime?
Description
gold-cc-input
gold-cc-expiration-input
gold-cc-cvc-input
conflict with bootstrap
.container
class make the input field appear too longExpected outcome
The class name should prefixed with element name, e.g:
.gold-cc-input-container
Actual outcome
The input field is too long following container width in bootstrap
Live Demo
didn't have live demo
Steps to reproduce
Browsers Affected