Skip to content

Commit 2a49d4a

Browse files
committed
feat: add better styling to overflowing text elements (for very looong words)
1 parent 0573003 commit 2a49d4a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app-src/scripts/task-list/_task-list-d.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ $task-inner-padding-left-right: 6px;
6868
border: 1px solid #dddddd;
6969
border-bottom-width: 0;
7070

71+
.title-bar-wrapper,
72+
.first-line {
73+
background: inherit;
74+
}
75+
7176
@include dark-theme {
7277
border-color: rgb(60, 60, 60);
7378
background-color: $dark-theme-bg-lighter;
@@ -148,7 +153,7 @@ $task-inner-padding-left-right: 6px;
148153
justify-content: center;
149154
min-height: 36px;
150155
flex-grow: 1;
151-
flex-basis: 100%;
156+
flex-basis: 70%;
152157
@media(max-width: $layout-xs) {
153158
margin-bottom: 10px;
154159
}
@@ -312,6 +317,8 @@ $task-inner-padding-left-right: 6px;
312317
line-height: 1.5;
313318
display: block;
314319
min-height: 20px;
320+
text-overflow: ellipsis;
321+
overflow: hidden;
315322
}
316323

317324
form {

0 commit comments

Comments
 (0)