diff --git a/core/modules/system/css/system.admin.css b/core/modules/system/css/system.admin.css index be739ac11d4ff637dc758fde642a99fc266591dd..7903b7e476e0ef704b7be482dd3c792e7e174d46 100644 --- a/core/modules/system/css/system.admin.css +++ b/core/modules/system/css/system.admin.css @@ -394,3 +394,8 @@ small .admin-link:after { .cron-description__run-cron { display: block; } + +.system-cron-settings__link { + overflow-wrap: break-word; + word-wrap: break-word; +} diff --git a/core/modules/system/src/Form/CronForm.php b/core/modules/system/src/Form/CronForm.php index 0779c15fa8a64ccfdbbc1100adc6e85b594ed887..751b3379eb3c00f2039b3fb18e8df0642dbdd8b3 100644 --- a/core/modules/system/src/Form/CronForm.php +++ b/core/modules/system/src/Form/CronForm.php @@ -112,7 +112,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { $cron_url = $this->url('system.cron', ['key' => $this->state->get('system.cron_key')], ['absolute' => TRUE]); $form['cron_url'] = [ - '#markup' => '<p>' . t('To run cron from outside the site, go to <a href=":cron">@cron</a>', [':cron' => $cron_url, '@cron' => $cron_url]) . '</p>', + '#markup' => '<p>' . t('To run cron from outside the site, go to <a href=":cron" class="system-cron-settings__link">@cron</a>', [':cron' => $cron_url, '@cron' => $cron_url]) . '</p>', ]; if (!$this->moduleHandler->moduleExists('automated_cron')) { diff --git a/core/themes/stable/css/system/system.admin.css b/core/themes/stable/css/system/system.admin.css index 6f5f62b8043e9f2c7a7ed6bb66867d9b9a1f4a88..e892293251abf5b1006fc4b64bf9b434b1a99a22 100644 --- a/core/themes/stable/css/system/system.admin.css +++ b/core/themes/stable/css/system/system.admin.css @@ -394,3 +394,8 @@ small .admin-link:after { .cron-description__run-cron { display: block; } + +.system-cron-settings__link { + overflow-wrap: break-word; + word-wrap: break-word; +}