Light dialogs need some improvements (MGNLUI-2798)

[MGNLUI-2800] Light dialogs should grow in height Created: 14/Apr/14  Updated: 06/May/14  Resolved: 24/Apr/14

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: PNG File Light dialogs have fixed height.png    
Issue Links:
relation
is related to MGNLUI-2867 Media Editor has broken layout with u... Closed
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.

Generated at Mon Feb 12 09:00:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.