Skip to content

Commit

Permalink
Fixes a few issues with ace editor
Browse files Browse the repository at this point in the history
  • Loading branch information
nesquena committed Dec 5, 2011
1 parent 63b5d76 commit 3f82c29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/gitdocs/public/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ body h2 { font-size: 1.5em; margin-top: 0.2em; }
}

.nav h1 a {
text-decoration: none;
color: black;
text-decoration: none;
color: black;
}

.nav h1 a:hover {
text-decoration: none;
text-decoration: none;
}

.menu {
Expand All @@ -40,15 +40,15 @@ div.share {
}

div.share.even {
background: #FEFBAA;
background: #FEFBAA;
}

div.share input {
width :100%;
width :100%;
}

body .container {
min-width: 500px;
min-width: 700px;
background: #FCEA97;
border-style: solid;
border-width: 5px;
Expand Down
1 change: 1 addition & 0 deletions lib/gitdocs/public/js/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $(document).ready(function() {
var editor = ace.edit("editor");
var textarea = $('form.edit textarea#data').hide();
var filename = $('form.edit input.filename').val();
editor.setShowPrintMargin(false);
editor.setTheme("ace/theme/tomorrow_night");

// Sync with textarea
Expand Down

0 comments on commit 3f82c29

Please sign in to comment.