Verified Commit a7a40c9e authored by Cristina Chumillas's avatar Cristina Chumillas
Browse files

Issue #3342816 by Utkarsh_33, bnjmnm, lauriii: Adjust hardcoded widths in dialog modals

parent bd938d4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -236,7 +236,7 @@ protected function buildBlocksForm() {
          'class' => ['use-ajax', 'button', 'button--small'],
          'data-dialog-type' => 'modal',
          'data-dialog-options' => Json::encode([
            'width' => 700,
            'width' => 880,
          ]),
        ],
      ];
+1 −1
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ public function listBlocks(Request $request, $theme) {
          'class' => ['use-ajax'],
          'data-dialog-type' => 'modal',
          'data-dialog-options' => Json::encode([
            'width' => 700,
            'width' => 970,
          ]),
        ],
      ];
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
                'class' => ['use-ajax'],
                'data-dialog-type' => 'modal',
                'data-dialog-options' => Json::encode([
                  'width' => 700,
                  'width' => 880,
                ]),
              ],
            ],