From dc980a19c8617c00d0a77d5aea79ec17df0dc7c8 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 5 May 2015 07:24:14 +0100 Subject: [PATCH] Make the stacked view play well with the new fluid-fixed mode --- plugins/tiddlywiki/stacked-view/stacked.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/tiddlywiki/stacked-view/stacked.js b/plugins/tiddlywiki/stacked-view/stacked.js index 542a01082..32d30d6d5 100644 --- a/plugins/tiddlywiki/stacked-view/stacked.js +++ b/plugins/tiddlywiki/stacked-view/stacked.js @@ -47,6 +47,8 @@ StackedListView.prototype.placeTiddlers = function() { itemWidget = this.listWidget.children[t]; var domNode = itemWidget.findFirstDomNode(); if(domNode instanceof Element) { + // Allows the width of the tiddler to be adjusted + $tw.utils.addClass(domNode,"tc-storyview-zoomin-tiddler"); // Find the position of the tiddler in the stack var pos = this.listStack.indexOf(itemWidget.parseTreeNode.itemTitle); if(pos !== -1) {