fix top margin on kb shortcuts menu

This commit is contained in:
Matthew Kastor 2013-03-31 20:26:24 -04:00 committed by nightwing
commit 3bca16ac73

View file

@ -33,7 +33,8 @@ define(function(require, exports, module) {
module.exports = function showKeyboardShortcuts (editor) {
var kb = getEditorKeybordShortcuts(editor);
var el = document.createElement('div');
el.innerHTML = '<h1>Keyboard Shortcuts</h1><div>' +
el.innerHTML = '<h1 style="padding-top:0; margin-top:0;">' +
'Keyboard Shortcuts</h1><div>' +
JSON.stringify(kb, null, ' ') +
'</div>';
el.style.cssText = 'margin:0; padding:0; ' +