From f64f9e13b008ef2e3d746bbb8698699a5ae471c8 2014-03-20 21:12:09 From: MinRK Date: 2014-03-20 21:12:09 Subject: [PATCH] widen modal dialogs on wide displays needed for quick help layout with multiple meta keys --- diff --git a/IPython/html/static/base/less/page.less b/IPython/html/static/base/less/page.less index ea1dd33..0e0ef4d 100644 --- a/IPython/html/static/base/less/page.less +++ b/IPython/html/static/base/less/page.less @@ -81,3 +81,10 @@ span#login_widget { .modal-body { max-height: 500px; } + +@media (min-width: 768px) { + .modal { + width: 700px; + margin-left: -350px; + } +} diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index 189d8d4..01b4ffd 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -1303,7 +1303,7 @@ span#login_widget{float:right} .navbar-nobg{background-color:transparent;background-image:none} #header>span{margin-top:10px} .modal-body{max-height:500px} -.center-nav{display:inline-block;margin-bottom:-4px} +@media (min-width:768px){.modal{width:700px;margin-left:-350px}}.center-nav{display:inline-block;margin-bottom:-4px} .alternate_upload{background-color:none;display:inline} .alternate_upload.form{padding:0;margin:0} .alternate_upload input.fileinput{background-color:#f00;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer;height:26px}