Navigation Menu

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

Button text color when using <input type="submit"> instead of <button> #805

Closed
ankemp opened this issue Dec 19, 2014 · 3 comments
Closed

Comments

@ankemp
Copy link

ankemp commented Dec 19, 2014

Having a bit of an issue (since ~2.13) when it comes to the color of the text in a button when using

<input class="uk-button uk-button-primary" type="submit" value="Click Me" />

The text of the button is black where as if I use:

<button class="uk-button uk-button-primary">Click me</button>

The button text is white.

Looked through inspector, looks like the styles are getting over written, I just can't figure out where.
This seems to happen on a fresh UIkit download (no customization)

@malles
Copy link

malles commented Dec 21, 2014

The input element is not suited for the uk-button classes. Change the input to a button and it should be fine.

@saschadube
Copy link
Member

Fixed #709

@ankemp
Copy link
Author

ankemp commented Nov 8, 2015

This is broken again.

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

No branches or pull requests

3 participants