From: Eevee Date: Wed, 24 Nov 2010 03:27:55 +0000 (-0800) Subject: Ensure colorbars can't escape their containers. #352 X-Git-Tag: veekun-promotions/2011041601 X-Git-Url: http://git.veekun.com/zzz-spline-users.git/commitdiff_plain/refs/tags/veekun-promotions/2011041601 Ensure colorbars can't escape their containers. #352 --- diff --git a/splinext/users/templates/css/users.mako b/splinext/users/templates/css/users.mako index e459b13..e6f9be8 100644 --- a/splinext/users/templates/css/users.mako +++ b/splinext/users/templates/css/users.mako @@ -1,2 +1,2 @@ -.user-color-bar { display: inline-block; height: 1em; width: 4em; padding: 1px; vertical-align: middle; border: 1px solid black; background: #e0e0e0; } +.user-color-bar { display: inline-block; overflow: hidden; height: 1em; width: 4em; padding: 1px; vertical-align: middle; white-space: nowrap; border: 1px solid black; background: #e0e0e0; } .user-color-bar-chunk { float: left; height: 1em; }