summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-02-06 00:20:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-17 15:38:53 +0000
commit49a81f064a2fade6b2ce74b1862419ce3e27d09b (patch)
treea3b661437b508e373d73fa362faff1720716abe9
parentec79df9c9ef2fece279838dc0c4fe9ed36dd459d (diff)
downloadpoky-49a81f064a2fade6b2ce74b1862419ce3e27d09b.tar.gz
poky-49a81f064a2fade6b2ce74b1862419ce3e27d09b.tar.bz2
poky-49a81f064a2fade6b2ce74b1862419ce3e27d09b.zip
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 <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/static/css/default.css3
1 files changed, 3 insertions, 0 deletions
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; }