mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Align colons in help dialog.
This commit is contained in:
parent
d60edf973d
commit
dfeb4342ed
@ -311,3 +311,11 @@ div.text_cell_render {
|
||||
.ui-widget-content { border: 0px; }
|
||||
}
|
||||
|
||||
.shortcut_key {
|
||||
display: inline-block;
|
||||
width: 10ex;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.shortcut_descr {
|
||||
}
|
@ -201,8 +201,8 @@ var IPython = (function (IPython) {
|
||||
];
|
||||
for (var i=0; i<shortcuts.length; i++) {
|
||||
dialog.append($('<div>').
|
||||
append($('<span/>').addClass('shortcut_key').html(shortcuts[i].key+' : ')).
|
||||
append($('<span/>').html(shortcuts[i].help))
|
||||
append($('<span/>').addClass('shortcut_key').html(shortcuts[i].key)).
|
||||
append($('<span/>').addClass('shortcut_descr').html(' : ' + shortcuts[i].help))
|
||||
);
|
||||
};
|
||||
dialog.dialog({title: 'Keyboard shortcuts'});
|
||||
|
Loading…
Reference in New Issue
Block a user