Adjust hardcoded widths in dialog modals

Created on 17 February 2023, almost 2 years ago
Updated 11 May 2023, over 1 year ago

Problem/Motivation

For example, there are several instances in core where 700px is hard coded for the width of dialogs.

'data-dialog-options' => Json::encode([
                  'width' => 700,
                ]),

"Setting a fixed 700 pixel width means this could appear unnecessarily narrow on larger screens. Although many of the form elements seem to look just the same, it scrunches up textareas and WYSIWYG fields a little awkwardly. A percentage would be better but it doesn't look like we could pass a non-px value to the jQuery settings: https://api.jqueryui.com/dialog/#option-width"

These may have been sufficient for smaller displays and the now-removed Seven theme which had smaller form elements. Uses should be evaluated with the awareness wider displays are more commonly used, and that Claro is chunkier.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.1

Component
Field 

Last updated about 13 hours ago

Created by

🇺🇸United States hooroomoo

Live updates comments and jobs are added and updated live.
  • Field UX

    Usability improvements related to the Field UI

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024