From 49a81f064a2fade6b2ce74b1862419ce3e27d09b Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Thu, 6 Feb 2014 00:20:41 +0000 Subject: bitbake: toaster: Make popovers scrollable Some recipes and packages have a lot of dependencies. To stop their popovers from taking over the full height of the screen, I have given them a maximum height and made their content scrollable in default.css (Bitbake rev: b6416a98f441516100d2ce7baca30f09714a1d1d) Signed-off-by: Belen Barros Pena Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/static/css/default.css | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bitbake') diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css index 80ae072677..f523d415f1 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css @@ -83,6 +83,9 @@ th > a, th > span { font-weight: normal; } /* Force long strings like commit hashes to wrap */ .iscommit { white-space: pre-wrap; word-break: break-all; word-wrap: break-word;} +/* Make the popovers scrollable if they are too long */ +.popover-content { max-height: 30em; overflow-y: scroll; } + /* Styles for the directory structure table. We'll probably won't use those in production */ .one { padding-left: 18px !important; } .two { padding-left: 36px !important; } -- cgit v1.2.3-54-g00ecf