Light dialogs need some improvements
(MGNLUI-2798)
|
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | dialogs |
| Affects Version/s: | 5.3 |
| Fix Version/s: | 5.3 |
| Type: | Sub-task | Priority: | Critical |
| Reporter: | Andreas Weder | Assignee: | Christopher Zimmermann |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | light-dialogs, next, ux | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Date of First Response: | |||||||||
| Sprint: | 5.3 Sprint 6 | ||||||||
| Description |
|
Light dialogs should grow in height to accommodate their fields, much as regular dialogs do. But while regular dialogs may grow to the bottom of a page, for light dialogs, there must always be a 40px bottom margin. |
| Comments |
| Comment by Christopher Zimmermann [ 24/Apr/14 ] |
|
The ModalityLevel is now pushed to the client state via a string, this is only necessary so that the bottom margin of only a light dialog can be set. The light dialog now behaves more similar to a normal dialog with the dynamic height respecting both contents and height of browser window. However, in order to style (border and dropshadow) the light dialog a new div "dialog-wrapper" had to be added to client side BaseDialogVIewImpl. |