From b6416a98f441516100d2ce7baca30f09714a1d1d Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Thu, 6 Feb 2014 00:20:41 +0000 Subject: [PATCH] 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 Signed-off-by: Belen Barros Pena --- lib/toaster/toastergui/static/css/default.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/toaster/toastergui/static/css/default.css b/lib/toaster/toastergui/static/css/default.css index 80ae072677f..f523d415f15 100644 --- a/lib/toaster/toastergui/static/css/default.css +++ b/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; } -- 2.47.3