mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-26 18:51:50 +02:00
Limit tag width in the projects list table.
This commit is contained in:
@@ -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%);
|
||||
Reference in New Issue
Block a user