usage count - modal view to small

Created on 4 April 2024, 8 months ago
Updated 10 April 2024, 8 months ago

Hallo,

If I click on an entry in my table column "usage count" in my admin view, a new view opens which is displayed in a modal window. Unfortunately, my titles are always very long and the window is therefore too small. Where can I adjust this?

ow can I overwrite this, is that somehow possible? The 700 width seems to be the problem?

<code>protected function renderAsLink($alter, $text, $tokens) {
    // See note in parent " Allow the addition of arbitrary attributes to...".
    $alter['link_attributes'] = [
      'class' => 'use-ajax',
      'data-dialog-type' => 'modal',
      'data-dialog-options' => Json::encode([
        'width' => 700,
      ]),
    ];
    return parent::renderAsLink($alter, $text, $tokens);
  }

}

Thx for the help

Bavra

Feature request
Status

Active

Version

3.0

Component

User interface

Created by

🇩🇪Germany bavramor

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

Comments & Activities

Production build 0.71.5 2024