Limit tag width in the projects list table.

This commit is contained in:
Paulo Reis 2017-11-03 15:07:04 +00:00
parent 773277e3a0
commit 71463a2ec2
2 changed files with 7 additions and 2 deletions

View file

@ -216,9 +216,9 @@ ul.folders-menu {
}
}
a.tag-name {
position: relative;
padding: @folders-tag-padding;
display: @folders-tag-display;
position: relative;
span.name {
padding-left: 0.5em;
line-height: @folders-tag-line-height;
@ -345,7 +345,11 @@ ul.project-list {
.tag-label-name {
padding-right: 0.3em;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-right-radius: 0;
max-width: @tag-max-width;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: text-bottom;
}
.tag-label-remove {
padding-left: 0.3em;

View file

@ -889,4 +889,5 @@
// Tags
@tag-border-radius : 0.25em;
@tag-bg-color : @label-default-bg;
@tag-max-width : 180px;
@tag-bg-hover-color : darken(@label-default-bg, 10%);