Skip to content

Commit

Permalink
fix(edit): css for picto images in edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mrflos committed May 27, 2024
1 parent 1c3dda8 commit 6af2d5e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions handlers/__EditHandler.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

namespace YesWiki\Qrcards;

use YesWiki\Core\YesWikiHandler;
use YesWiki\Core\Service\AssetsManager;

class __EditHandler extends YesWikiHandler
{
public function run()
{
// ugly workaround to get the styling in the picto images for qrcards
$this->getService(AssetsManager::class)->AddCSSFile('tools/qrcards/styles/qrcards.css');
}
}

0 comments on commit 6af2d5e

Please sign in to comment.