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

8.4.x
Scott Reeves 2017-07-28 13:03:56 -04:00
parent b77f378db7
commit 8434c1a003
3 changed files with 11 additions and 1 deletions

View File

@ -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;
}

View File

@ -112,7 +112,7 @@ class CronForm extends FormBase {
$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')) {

View File

@ -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;
}