Do not try to apply the company color style if no company color value is available
This commit is contained in:
parent
cec1ef6175
commit
0f67dbaddc
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php if ($company_color !== DEFAULT_COMPANY_COLOR): ?>
|
<?php if ( ! empty($company_color) && $company_color !== DEFAULT_COMPANY_COLOR): ?>
|
||||||
<style>
|
<style>
|
||||||
/* Generic Overrides */
|
/* Generic Overrides */
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
body .modal-header {
|
body .modal-header {
|
||||||
background: <?= $company_color ?> !important;
|
background: <?= $company_color ?> !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fc-daygrid-event {
|
.fc-daygrid-event {
|
||||||
|
|
Loading…
Reference in a new issue