From d87a481ffb87a4cac0ee302950334ffa68300c3a Mon Sep 17 00:00:00 2001 From: Bart Kamphorst Date: Mon, 5 Feb 2018 16:44:55 +0100 Subject: [PATCH] Add cancel button to editor. Resolves issue #1282. --- lib/gollum/public/gollum/stylesheets/editor.scss | 3 ++- lib/gollum/templates/editor.mustache | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/gollum/public/gollum/stylesheets/editor.scss b/lib/gollum/public/gollum/stylesheets/editor.scss index 492d8504..857e1652 100644 --- a/lib/gollum/public/gollum/stylesheets/editor.scss +++ b/lib/gollum/public/gollum/stylesheets/editor.scss @@ -318,13 +318,14 @@ a { /* @control preview */ - #gollum-editor-preview { + #gollum-editor-preview, #gollum-editor-cancel { float: left; font-weight: normal; padding: left; @include alt-box-model; } + } /* @control title */ diff --git a/lib/gollum/templates/editor.mustache b/lib/gollum/templates/editor.mustache index 5e64ea48..490b2729 100644 --- a/lib/gollum/templates/editor.mustache +++ b/lib/gollum/templates/editor.mustache @@ -146,6 +146,7 @@
+ Cancel Preview