Skip to content

Commit

Permalink
Merge pull request #840 from nextcloud/fix/834
Browse files Browse the repository at this point in the history
Fix issues with very long task-titles
  • Loading branch information
raimund-schluessler committed Jan 28, 2020
2 parents 43db153 + 0dbba74 commit c7f0c1d
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions css/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -468,14 +468,13 @@

.task-info {
display: flex;
flex: 1 1 auto;
flex-grow: 1;
cursor: pointer;
color: $gray_dark;
line-height: 16px;
margin: 0;
overflow: hidden;
position: relative;
text-overflow: ellipsis;
white-space: nowrap;

.title {
Expand All @@ -497,7 +496,7 @@

.categories-list {
padding: 11px;
overflow: hidden;
max-width: 50%;

.category {
overflow: hidden;
Expand Down Expand Up @@ -540,9 +539,7 @@

.task-body-icons {
display: flex;
max-width: 50%;
justify-content: flex-end;
overflow: hidden;
margin-left: auto;

&>div {
height: 44px;
Expand Down Expand Up @@ -698,13 +695,19 @@
.title-wrapper {
flex-grow: 1;

.title-text,
.expandable-container {
max-height: 110px;
overflow-y: hidden;
margin: 13px 0;
min-height: 24px;
width: 100%;
padding: 0 6px;
}

.title-text {
cursor: text;
display: inline-block;
width: 100%;
min-height: 24px;
margin: 13px 0;
padding: 0 6px;
line-height: 22px;
// this border is to adjust the size of the div to the size
// of the input field for editing the title
Expand All @@ -717,13 +720,9 @@
}

.expandable-container {
width: 100%;
border: 1px solid $gray;
padding: 0 6px;
display: none;
margin: 13px 0;
line-height: 24px;
min-height: 24px;

.expandingArea {
position: relative;
Expand Down

0 comments on commit c7f0c1d

Please sign in to comment.