From: Belen Barros Pena Date: Mon, 22 Feb 2016 09:08:36 +0000 (+0000) Subject: toaster: reduce max height of modal dialogs X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e36001d61768979d66cba0f3d4f5a2aaf4af2cb7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toaster: reduce max height of modal dialogs Now that we use modal dialogs to display dependency information for packages, we are hitting their maximum height relatively often. It is set by default to 400px, which makes it a bit tight at a 1280x800 viewport size. Reduce the maximum height to 300px to make things a bit more comfortable. Signed-off-by: Belen Barros Pena Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- diff --git a/lib/toaster/toastergui/static/css/default.css b/lib/toaster/toastergui/static/css/default.css index c5a580f7f28..c1cb93c6e57 100644 --- a/lib/toaster/toastergui/static/css/default.css +++ b/lib/toaster/toastergui/static/css/default.css @@ -51,6 +51,7 @@ dd li { line-height: 25px; } /* Style the filter modal dialogs */ .modal { width: 800px; margin-left: -400px; } .modal-footer .btn { float: left; } +.modal-body { max-height: 300px; } /* Hover style for the clear search icon */ .icon-remove-sign:hover { color: #999999; cursor: pointer; }