From 031e829daf0c5963b8ea8aa494c2b15cbea0787f Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Fri, 26 Dec 2014 19:07:59 +0100 Subject: [PATCH] stack vertically keyboard shortcut on narrow viewport. --- IPython/html/static/notebook/js/quickhelp.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IPython/html/static/notebook/js/quickhelp.js b/IPython/html/static/notebook/js/quickhelp.js index 7f4879e8e..f8326a2e9 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