[MGNLUI-3378] Light dialog has hardcoded width set via CSS Created: 17/Mar/15  Updated: 09/Mar/21  Resolved: 09/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: dialogs
Affects Version/s: 5.3
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Aleksandr Pchelintcev Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

In dialogs.scss:

.light

{ position: absolute; top: 74px; width: 600px !important; <---(!!!!) }

We should set the default width from the code and certainly should avoid using !important modifier as it dramatically complicates customisation.

Ligth dialogs wouldn't even be able to react on the 'wide' property setting.


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