Commit 8434c1a0 authored by Cottser's avatar Cottser

Issue #2781031 by chanchal2002, starshaped, joginderpc, alioso, brahmjeet789,...

Issue #2781031 by chanchal2002, starshaped, joginderpc, alioso, brahmjeet789, Chernous_dn, Cottser, bandanasharma, Manjit.Singh, phenaproxima, tompagabor: Cron link on cron page overflows its background on smaller screens
parent b77f378d
......@@ -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;
}
......@@ -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')) {
......
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment