[Toaster] [PATCH] toaster: reduce max height of modal dialogs

Belen Barros Pena belen.barros.pena at linux.intel.com
Tue Feb 16 02:06:05 PST 2016


From: Belen Barros Pena <belen.barros.pena at intel.com>

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 at intel.com>
---
 bitbake/lib/toaster/toastergui/static/css/default.css | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css
index b674a9d..de46dcb 100644
--- a/bitbake/lib/toaster/toastergui/static/css/default.css
+++ b/bitbake/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; }
-- 
2.5.4 (Apple Git-61)



More information about the toaster mailing list