From: Aleksander Ɓukasz Date: Wed, 7 Aug 2013 08:12:25 +0000 (+0200) Subject: Margin for footnotes X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/84c1c7eb511a9776480c863cee42954853cb0e96?ds=inline;hp=739242f6208f3e58570194fb1000086bafd527ef Margin for footnotes --- 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