##// END OF EJS Templates
use box-flex to layout quickhelp
MinRK -
Show More
@@ -109,8 +109,8 b' var IPython = (function (IPython) {'
109 109 var i, half, n;
110 110 var div = $('<div/>').append($(title));
111 111 var sub_div = $('<div/>').addClass('hbox');
112 var col1 = $('<div/>').addClass('box-flex0');
113 var col2 = $('<div/>').addClass('box-flex0');
112 var col1 = $('<div/>').addClass('box-flex1');
113 var col2 = $('<div/>').addClass('box-flex1');
114 114 n = shortcuts.length;
115 115 half = ~~(n/2); // Truncate :)
116 116 for (i=0; i<half; i++) { col1.append( build_one(shortcuts[i]) ); }
@@ -1,11 +1,15 b''
1 .quickhelp {
2 .hbox();
3 }
1 4 .shortcut_key {
2 5 display: inline-block;
3 width: 16ex;
6 width: 20ex;
4 7 text-align: right;
5 8 font-family: @monoFontFamily;
6 9 }
7 10
8 11 .shortcut_descr {
9 12 display: inline-block;
13 .box-flex1();
10 14 }
11 15
@@ -1515,8 +1515,9 b' ul#help_menu li a{overflow:hidden;padding-right:2.2em}ul#help_menu li a i{margin'
1515 1515 div#pager_splitter{height:8px}
1516 1516 #pager-container{position:relative;padding:15px 0}
1517 1517 div#pager{font-size:14px;line-height:20px;overflow:auto;display:none}div#pager pre{font-size:13px;line-height:1.21429em;color:#000;background-color:#f7f7f7;padding:.4em}
1518 .shortcut_key{display:inline-block;width:16ex;text-align:right;font-family:monospace}
1519 .shortcut_descr{display:inline-block}
1518 .quickhelp{display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}
1519 .shortcut_key{display:inline-block;width:20ex;text-align:right;font-family:monospace}
1520 .shortcut_descr{display:inline-block;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}
1520 1521 span#save_widget{padding:0 5px;margin-top:12px}
1521 1522 span#checkpoint_status,span#autosave_status{font-size:small}
1522 1523 @media (max-width:767px){span#save_widget{font-size:small} span#checkpoint_status,span#autosave_status{font-size:x-small}}@media (max-width:767px){span#checkpoint_status,span#autosave_status{display:none}}@media (min-width:768px) and (max-width:979px){span#checkpoint_status{display:none} span#autosave_status{font-size:x-small}}.toolbar{padding:0 10px;margin-top:-5px}.toolbar select,.toolbar label{width:auto;height:26px;vertical-align:middle;margin-right:2px;margin-bottom:0;display:inline;font-size:92%;margin-left:.3em;margin-right:.3em;padding:0;padding-top:3px}
General Comments 0
You need to be logged in to leave comments. Login now