You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/07/08 11:58:49 UTC
[14/21] allura git commit: [#7897] ticket:814 Fix editor styles for
wiki
[#7897] ticket:814 Fix editor styles for wiki
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/92b65360
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/92b65360
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/92b65360
Branch: refs/heads/ib/7897
Commit: 92b65360d795979504db7048d13d0335b3bb4780
Parents: 5e07e7a
Author: Igor Bondarenko <je...@gmail.com>
Authored: Tue Jul 7 17:16:58 2015 +0300
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Tue Jul 7 17:16:58 2015 +0300
----------------------------------------------------------------------
ForgeWiki/forgewiki/templates/wiki/page_edit.html | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/92b65360/ForgeWiki/forgewiki/templates/wiki/page_edit.html
----------------------------------------------------------------------
diff --git a/ForgeWiki/forgewiki/templates/wiki/page_edit.html b/ForgeWiki/forgewiki/templates/wiki/page_edit.html
index bdd35c6..c9596b7 100644
--- a/ForgeWiki/forgewiki/templates/wiki/page_edit.html
+++ b/ForgeWiki/forgewiki/templates/wiki/page_edit.html
@@ -25,8 +25,13 @@
{% block extra_css %}
<style type="text/css">
- textarea[name="text"]{
+ .markdown_edit {
height: 600px;
+ min-height: 600px;
+ }
+ .markdown_edit .CodeMirror {
+ height: auto;
+ min-height: 520px;
}
</style>
{% endblock %}
@@ -85,7 +90,6 @@
{% block wiki_extra_js %}
<script type="text/javascript">
/*<![CDATA[*/
- $('textarea.auto_resize').autosize();
$('span.removable').click(function(e){
var vals = $('#page_edit_form').serialize();
var del_name = $('input', this)[0].name.replace('.id','.delete');