From 84c1c7eb511a9776480c863cee42954853cb0e96 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Wed, 7 Aug 2013 10:12:25 +0200 Subject: [PATCH 1/1] Margin for footnotes --- modules/documentCanvas/canvas/widgets.less | 3 ++- modules/documentCanvas/nodes.less | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/documentCanvas/canvas/widgets.less b/modules/documentCanvas/canvas/widgets.less index 0737aa7..0f43c89 100644 --- a/modules/documentCanvas/canvas/widgets.less +++ b/modules/documentCanvas/canvas/widgets.less @@ -44,9 +44,10 @@ .canvas-widget-hide-button { @line_height: 12px; @padding: 2px; + @temporary_footnote_hack: 10px; position: absolute; - top: -(@line_height + 2 * @padding); + top: -(@line_height + 2 * @padding) + @temporary_footnote_hack; right: 0; line-height: @line_height; padding: @padding; diff --git a/modules/documentCanvas/nodes.less b/modules/documentCanvas/nodes.less index de4fd7c..2deb807 100644 --- a/modules/documentCanvas/nodes.less +++ b/modules/documentCanvas/nodes.less @@ -128,4 +128,9 @@ padding: 5px; } +} + +[wlxml-tag="aside"] { + margin-top: 10px; + margin-bottom: 10px; } \ No newline at end of file -- 2.20.1