An extra class is needed on the dialog wrapper to specify when a buttonset is showing
As I started developing a new theme, I found out that there is no way of knowing (in just CSS) that a dialog has buttons. I think it is reasonable to assume people may want to style the content region of a dialog differently if there are buttons below it.
I propose adding a "ui-dialog-buttons" class to the .ui-dialog element when buttons are present. (Thanks Scott & Rich for the right name there!)
Change History (3)
Milestone: |
1.9 →
1.8.11
|
Version: |
1.8.9 →
1.8.10
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Dialog: Added a class to dialog wrapper when it is currently displaying buttons, includes unit tests for changes. Fixed #7057 - An extra class is needed on the dialog wrapper to specify when a buttonset is showing