Skip to contentSkip to conversation

toaster: reduce max height of modal dialogs

PATCH New Belen Barros Pena 1 participant 1 message Feb 16, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toaster: reduce max height of modal dialogs

From: Belen Barros Pena <[email protected]>

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.

---
 bitbake/lib/toaster/toastergui/static/css/default.css | 1 +
 1 file changed, 1 insertion(+)
bitbake/lib/toaster/toastergui/static/css/default.css +1 -0
index b674a9d..de46dcb 100644
@@ -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; }
Signature · 1 line
2.5.4 (Apple Git-61)