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

Date Input Error Width #1094

Closed
joshbruce opened this issue Apr 1, 2016 · 2 comments
Closed

Date Input Error Width #1094

joshbruce opened this issue Apr 1, 2016 · 2 comments
Assignees
Labels
Type: Bug A problem in the code

Comments

@joshbruce
Copy link

joshbruce commented Apr 1, 2016

Still compiling a view generator. Added error design pattern to the Date Input element. Ran into an issue with the input width setting:

screen shot 2016-04-01 at 8 34 25 am

After appending:

.usa-input-error input {
width: 100% !important;
}

screen shot 2016-04-01 at 8 36 06 am

@maya maya added Type: Bug A problem in the code frontend labels Apr 5, 2016
@maya
Copy link
Contributor

maya commented Apr 5, 2016

@jbrucegsa thanks for opening this! Is the issue only with date inputs or was there an issue with standard text inputs as well?

@joshbruce
Copy link
Author

@maya No worries - really hoping to help this project out.

Unfortunately, I haven't made it through everything yet.

With the standard CSS, there did not seem to be a visual change to other text inputs - almost like the declaration could be removed without any side-effects.

The only other pattern of inputs I think might be affected would be in the name or address forms, but I have not gotten there yet in the following project: https://github.com/jbrucegsa/uswds

(Hope that project is kosher with y'all. Starting with PHP and available through Packagist to set up a prototyping environment locally. Considering ports to straight JS in the near future. If you setup a local PHP server (MAMP or XAMPP or something else) and point to "public" you should see the outputs using the compiled CSS and UI generator.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug A problem in the code
Projects
None yet
Development

No branches or pull requests

4 participants