Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding input styles to force them to be same width #1319

Open
ondrae opened this issue Aug 28, 2015 · 1 comment
Open

Overriding input styles to force them to be same width #1319

ondrae opened this issue Aug 28, 2015 · 1 comment

Comments

@ondrae
Copy link
Collaborator

ondrae commented Aug 28, 2015

Description

For the brigade checkin form, I wanted all the inputs to be the the same width. It was more confusing than it should be.

I ended up needing to manually set the min-width of each form element.

  input[type="text"],input[type="email"],input[type="password"]{
    min-width: 225px;
    padding: 1px 26px;
  }

Perhaps its because I wasn't using the standard form-fields classes?

Request

I'd like to see a class like full-form-width or something in the style guide to get this automatically.

ping @davidrleonard

@davidrleonard
Copy link

This needs to be moved to http://github.com/codeforamerica/pattern-library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants