]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: reduce max height of modal dialogs
authorBelen Barros Pena <belen.barros.pena@intel.com>
Mon, 22 Feb 2016 09:08:36 +0000 (09:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Feb 2016 17:17:24 +0000 (17:17 +0000)
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 <belen.barros.pena@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/toastergui/static/css/default.css

index c5a580f7f284222dda4f0398fc0cc48072033cf0..c1cb93c6e579e6afb567ce66d20ecf082a6c742f 100644 (file)
@@ -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; }