mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-03 13:43:10 +00:00
Limit tag width in the projects list table.
This commit is contained in:
parent
773277e3a0
commit
71463a2ec2
2 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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%);
|
Loading…
Reference in a new issue