use custom css file instead of inline style

This commit is contained in:
Marc Michalsky 2023-08-29 17:02:05 +02:00
parent ab5b0b3929
commit b7b0e6d610
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
3 changed files with 7 additions and 1 deletions

View file

@ -32,6 +32,9 @@ class CRM_Twingle_Page_Profiles extends CRM_Core_Page {
$this->assign('profiles', $profiles);
$this->assign('profile_stats', CRM_Twingle_Profile::getProfileStats());
// Add custom css
Civi::resources()->addStyleFile(E::LONG_NAME, 'css/twingle.css');
parent::run();
}