From df84e932833b3643ce600499ddd5fef497bec908 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 27 Apr 2015 13:38:20 +0100 Subject: [PATCH] Add position: relative to scrollable widget So that popups within the scrollable behave correctly. Fixes #1679 --- editions/tw5.com/tiddlers/system/tw5.com-styles.tid | 1 + editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/system/tw5.com-styles.tid b/editions/tw5.com/tiddlers/system/tw5.com-styles.tid index e2539cc8f..9c81de672 100644 --- a/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +++ b/editions/tw5.com/tiddlers/system/tw5.com-styles.tid @@ -44,6 +44,7 @@ tags: $:/tags/Stylesheet background-color: <>; padding: 1em; height: 400px; + position: relative; } .tc-improvement-banner { diff --git a/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid b/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid index c033cbd91..da5b536c9 100644 --- a/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/ScrollableWidget.tid @@ -1,5 +1,5 @@ created: 20140324223413403 -modified: 20140324223524945 +modified: 20150427123524945 tags: Widgets title: ScrollableWidget type: text/vnd.tiddlywiki @@ -29,6 +29,7 @@ This example requires the following CSS definitions from [[$:/_tw5.com-styles]]: background-color: <>; padding: 1em; height: 400px; + position: relative; } ```