From 360ee898bfe44405b66060548d3c02d7721bf0fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Juli=C3=A1n?= Date: Fri, 13 Mar 2015 08:30:27 +0100 Subject: [PATCH] Move preview in Wiki to fit in edition position. #TG-2442 #ready-for-test --- app/styles/layout/wiki.scss | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/app/styles/layout/wiki.scss b/app/styles/layout/wiki.scss index 48cb40ab..62fb3b23 100644 --- a/app/styles/layout/wiki.scss +++ b/app/styles/layout/wiki.scss @@ -22,6 +22,14 @@ .wiki-content { margin-bottom: 2rem; position: relative; + &.editable { + &:hover { + .wysiwyg { + background: $whitish; + cursor: pointer; + } + } + } .view-wiki-content { &:hover { .edit { @@ -63,12 +71,7 @@ top: .4rem; } } - &.editable { - &:hover { - .wysiwyg { - background: $whitish; - cursor: pointer; - } - } + .preview { + padding-top: 1.8rem; } }