Merge PR #2775 into 16.0

Signed-off-by pedrobaeza
pull/2774/head
OCA-git-bot 2024-04-06 16:38:36 +00:00
commit 9adfe33ccc
2 changed files with 11 additions and 5 deletions

View File

@ -1,5 +1,5 @@
* Implement a more efficient way of refreshing timeline after a record update;
* Make `attrs` attribute work;
* Make ``attrs`` attribute work;
* Make action attributes work (create, edit, delete) like in form and tree views.
* When grouping by m2m and more than one record is set, the timeline item appears only
on one group. Allow showing in both groups.
@ -7,3 +7,6 @@
the group will not be set, because it could make disappear the records not related
with the changes that we want to make. When the item is showed in all groups change
the value according the group of the dragged item.
* When an item label does not fit in its date-range box: ✅ the label correctly overflows
the box; ✅ clicking anywhere on the label allows moving the box; ❌ double-clicking
the label outside of the box does not open that item.

View File

@ -1,3 +1,4 @@
$vis-hover-background-color: linen;
$vis-weekend-background-color: #dcdcdc;
$vis-item-content-padding: 0 3px !important;
@ -10,16 +11,18 @@ $vis-item-content-padding: 0 3px !important;
}
.vis-item {
&.vis-box:hover {
&:hover {
background-color: $vis-hover-background-color !important;
cursor: pointer !important;
}
&.vis-item-overflow {
.vis-item-overflow {
overflow: visible;
}
.vis-item-content {
width: 100%;
padding: $vis-item-content-padding;
&:hover {
background-color: $vis-hover-background-color !important;
}
}
}
}