Add max-width and ellipsis to project names in the tenant switch.

Closes-Bug: 1337900
Change-Id: Ia847eb87869e4b4ffbe34f618849bdb064a1c74d
This commit is contained in:
Robert Mizielski 2014-07-04 17:16:34 +02:00 committed by Mizielski Robert
parent c1ecea1dd7
commit 045bd3c07d
1 changed files with 8 additions and 0 deletions

View File

@ -83,6 +83,7 @@ dt {
display: inline-block;
height: auto;
width: 160px;
max-width: 160px;
background-position: 140px center;
margin-bottom: 0;
margin-right: 10px;
@ -95,6 +96,11 @@ dt {
@include border-radius(4px);
// How to convert to SCSS?
// @include box-shadow(inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
ul#tenant_list a {
max-width: 160px;
overflow: hidden;
text-overflow: ellipsis;
}
}
.topbar .switcher_bar a {
@ -112,6 +118,8 @@ dt {
line-height: 20px;
color: $gray;
text-decoration: none;
text-overflow: ellipsis;
overflow: hidden;
}
.topbar .switcher_bar div {