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 Default Styling Changes Depending on Whether It's In a Modal/Dialog or Not #257

Open
cdaringe opened this issue Nov 15, 2014 · 1 comment

Comments

@cdaringe
Copy link

Hello:

As I went to produce a standard button (white background) in a dialog, I found that the blue button styling was applied. I expected blue styling only to be applied when using ui-button-primary.

I have taken the button element and simply moved it from the dialog to a different part of my page and seen the button return to the white background style.

I am using jQuery ui 1.11.1

screen shot 2014-11-14 at 5 00 30 pm
*Observe the Cancel button

screen shot 2014-11-14 at 5 00 14 pm
*Observe the Cancel button

@cdaringe
Copy link
Author

On second review, simply moving the button order changed the styling. This is unexpected behavior from the modal. Would you think that this should be overruled by the theme or addressed in the jqui core?

screen shot 2014-11-14 at 5 12 31 pm

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

1 participant