Skip to content
Snippets Groups Projects

Truncate long title text on Todo items

Files
3
@@ -43,6 +43,12 @@
@@ -43,6 +43,12 @@
}
}
}
}
 
.todo-avatar,
 
.todo-actions {
 
-webkit-flex: 0 0 auto;
 
flex: 0 0 auto;
 
}
 
.todo-actions {
.todo-actions {
display: -webkit-flex;
display: -webkit-flex;
display: flex;
display: flex;
@@ -55,8 +61,9 @@
@@ -55,8 +61,9 @@
}
}
.todo-item {
.todo-item {
-webkit-flex: auto;
-webkit-flex: 0 1 100%;
flex: auto;
flex: 0 1 100%;
 
min-width: 0;
}
}
}
}
@@ -74,8 +81,29 @@
@@ -74,8 +81,29 @@
.todo-item {
.todo-item {
.todo-title {
.todo-title {
@include str-truncated(calc(100% - 174px));
display: flex;
overflow: visible;
 
& > .title-item {
 
-webkit-flex: 0 0 auto;
 
flex: 0 0 auto;
 
margin: 0 2px;
 
 
&:first-child {
 
margin-left: 0;
 
}
 
 
&:last-child {
 
margin-right: 0;
 
}
 
}
 
 
.todo-label {
 
-webkit-flex: 0 1 auto;
 
flex: 0 1 auto;
 
overflow: hidden;
 
text-overflow: ellipsis;
 
white-space: nowrap;
 
}
}
}
.status-box {
.status-box {
@@ -154,10 +182,12 @@
@@ -154,10 +182,12 @@
.todo-item {
.todo-item {
.todo-title {
.todo-title {
white-space: normal;
flex-flow: row wrap;
overflow: visible;
max-width: 100%;
margin-bottom: 10px;
margin-bottom: 10px;
 
 
.todo-label {
 
white-space: normal;
 
}
}
}
.todo-body {
.todo-body {
Loading