The styling of the dialog element needs adjusting.

Created on 19 January 2024, almost 2 years ago
Updated 26 January 2024, over 1 year ago

Problem/Motivation

Currently, when a dialog element is displayed as data-dialog-type="modal" it looks fine. Using data-dialog-type="dialog" instead, the styling is very off.

We did some basic styling in "dialogNative.css" but further work needs to be done here.

Steps to reproduce

Create an ajax dialog link using the WYSIWYG editor and copy in:

<a class="use-ajax" 
    data-dialog-options="{&quot;width&quot;:400}" 
    data-dialog-type="dialog" 
    href="/node/1">
    First article displayed in modal dialog.
</a>

Source: https://www.drupal.org/docs/develop/drupal-apis/ajax-api/ajax-dialog-boxes

Proposed resolution

Adjust styling of the dialog element "dialog" dialog type. The modal dialog element might also need some styling. That should also be checked please.

Only core component styles (sizes, position, ...), no "design", which is a core / contrib theme task.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Grevil

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024