make editor page responsive to smaller screens
This commit is contained in:
parent
f1c675973d
commit
8f6823676a
5 changed files with 191 additions and 27 deletions
|
@ -12,6 +12,21 @@ $(function () {
|
|||
, $wordcounter = $('#wordcounter')
|
||||
, $pagename = $("#page-name");
|
||||
|
||||
var $entry_markdown_header = $("#entry-markdown-header");
|
||||
var $entry_preview_header = $("#entry-preview-header");
|
||||
|
||||
// Tabs
|
||||
$entry_markdown_header.click(function(){
|
||||
$("section.entry-markdown").addClass('active');
|
||||
$("section.entry-preview").removeClass('active');
|
||||
});
|
||||
|
||||
$entry_preview_header.click(function(){
|
||||
$("section.entry-preview").addClass('active');
|
||||
$("section.entry-markdown").removeClass('active');
|
||||
});
|
||||
|
||||
|
||||
var editor
|
||||
, autoInterval
|
||||
, profile =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue