1 Commits
v1.4.2 ... v1.5

3 changed files with 9 additions and 7 deletions

View File

@@ -28,15 +28,17 @@
* max-height alone does nothing. A stylesheet !important overrides the inline * max-height alone does nothing. A stylesheet !important overrides the inline
* (non-important) min-height so max-height can win. * (non-important) min-height so max-height can win.
* *
* We override it to a small NON-ZERO value, not 0: Kanboard relies on that same inline * We override it to a NON-ZERO value, not 0: Kanboard relies on that same inline
* min-height to keep EMPTY columns tall enough to be a drop target, so zeroing it makes * min-height to keep EMPTY columns tall enough to be a drop target, so zeroing it makes
* you unable to drop a card into an empty collapsed column. 100px clears Kanboard's 70px * you unable to drop a card into an empty collapsed column. 250px gives a comfortable drop
* drag placeholder (.draggable-placeholder) with margin, and stays well below max-height * target (well above Kanboard's 70px .draggable-placeholder) while staying below the
* so tall columns still shrink; non-empty columns are unaffected (their content is taller). * collapsed max-height, so the board never overflows the viewport (which would re-hide the
* horizontal scrollbar). Non-empty columns are unaffected -- their content is taller -- and
* short columns simply get this min-height, which is only cosmetic (no scrollbar).
*/ */
#board td .board-task-list.board-task-list-compact { #board td .board-task-list.board-task-list-compact {
max-height: calc(100vh - var(--sv-shrink-offset, 240px)) !important; max-height: calc(100vh - var(--sv-shrink-offset, 240px)) !important;
min-height: 100px !important; min-height: 250px !important;
} }
/* /*

View File

@@ -51,7 +51,7 @@ class Plugin extends Base
public function getPluginVersion() public function getPluginVersion()
{ {
return '1.4.2'; return '1.5.0';
} }
public function getPluginHomepage() public function getPluginHomepage()

View File

@@ -1 +1 @@
ShrinkVertically v1.4.2 ShrinkVertically v1.5