File tree 1 file changed +10
-0
lines changed
packages/twenty-front/src/modules/activities/tasks/components
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ const StyledContainer = styled.div`
23
23
display: inline-flex;
24
24
height: ${ ( { theme } ) => theme . spacing ( 12 ) } ;
25
25
min-width: calc(100% - ${ ( { theme } ) => theme . spacing ( 8 ) } );
26
+ max-width: calc(100% - ${ ( { theme } ) => theme . spacing ( 8 ) } );
26
27
padding: 0 ${ ( { theme } ) => theme . spacing ( 4 ) } ;
28
+ overflow: hidden;
27
29
28
30
&:last-child {
29
31
border-bottom: 0;
@@ -33,6 +35,9 @@ const StyledContainer = styled.div`
33
35
const StyledTaskBody = styled . div `
34
36
color: ${ ( { theme } ) => theme . font . color . tertiary } ;
35
37
display: flex;
38
+ max-width: 100%;
39
+ flex: 1;
40
+ overflow: hidden;
36
41
` ;
37
42
38
43
const StyledTaskTitle = styled . div < {
@@ -42,6 +47,9 @@ const StyledTaskTitle = styled.div<{
42
47
font-weight: ${ ( { theme } ) => theme . font . weight . medium } ;
43
48
padding: 0 ${ ( { theme } ) => theme . spacing ( 2 ) } ;
44
49
text-decoration: ${ ( { completed } ) => ( completed ? 'line-through' : 'none' ) } ;
50
+ white-space: nowrap;
51
+ overflow: hidden;
52
+ text-overflow: ellipsis;
45
53
` ;
46
54
47
55
const StyledCommentIcon = styled . div `
@@ -73,6 +81,8 @@ const StyledPlaceholder = styled.div`
73
81
74
82
const StyledLeftSideContainer = styled . div `
75
83
display: flex;
84
+ flex: 1;
85
+ overflow: hidden;
76
86
` ;
77
87
78
88
const StyledCheckboxContainer = styled . div `
You can’t perform that action at this time.
0 commit comments