From 382c188558a12c3dbd4865a8b400cadea38e5086 2014-12-26 18:07:59 From: Matthias Bussonnier Date: 2014-12-26 18:07:59 Subject: [PATCH] stack vertically keyboard shortcut on narrow viewport. --- diff --git a/IPython/html/static/notebook/js/quickhelp.js b/IPython/html/static/notebook/js/quickhelp.js index 7f4879e..f8326a2 100644 --- a/IPython/html/static/notebook/js/quickhelp.js +++ b/IPython/html/static/notebook/js/quickhelp.js @@ -250,9 +250,9 @@ define([ var build_div = function (title, shortcuts) { var i, half, n; var div = $('
').append($(title)); - var sub_div = $('
').addClass('hbox'); - var col1 = $('
').addClass('box-flex1'); - var col2 = $('
').addClass('box-flex1'); + var sub_div = $('
').addClass('container-fluid'); + var col1 = $('
').addClass('col-md-6'); + var col2 = $('
').addClass('col-md-6'); n = shortcuts.length; half = ~~(n/2); // Truncate :) for (i=0; i