From e46a124badfacafa4897c03770aa06a17966882c Mon Sep 17 00:00:00 2001 From: Ruben Carlo Benante Date: Sun, 28 Jun 2026 16:36:58 -0300 Subject: [PATCH] plugin v0.2 --- Plugin.php | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/Plugin.php b/Plugin.php index 78240ed..02134ef 100644 --- a/Plugin.php +++ b/Plugin.php @@ -1,6 +1,6 @@ template->hook->attach('template:layout:top', 'skeleton:layout/header'); - - // 2. Load the plugin stylesheet (currently empty -- proves the CSS hook fires). + // Inject a small CSS override that reduces the height of vertically + // collapsed board columns so the horizontal scrollbar stays visible. $this->hook->on('template:layout:css', array( - 'template' => 'plugins/Skeleton/Asset/css/skeleton.css', - )); - - // 3. Load the plugin script (currently empty -- proves the JS hook fires). - $this->hook->on('template:layout:js', array( - 'template' => 'plugins/Skeleton/Asset/js/skeleton.js', + 'template' => 'plugins/ShrinkVertically/Asset/css/shrink-vertically.css', )); } public function getPluginName() { - return 'Skeleton'; + return 'ShrinkVertically'; } public function getPluginDescription() { - return t('Reusable skeleton/template for building Kanboard plugins.'); + return t('Shrink vertically-collapsed board columns so the horizontal scrollbar stays visible.'); } public function getPluginAuthor() @@ -44,7 +37,7 @@ class Plugin extends Base public function getPluginHomepage() { - return 'https://code.beco.cc/beco/kanboard-plugin-skeleton'; + return 'https://code.beco.cc/beco/shrink-vertically'; } public function getCompatibleVersion()