[FIX] project: fix the delete icon on chatter attachment
Before this commit, on project sharing chatter attachment delete icon is displayed on the middle of attachment thumbnail instead it should be displayed on right top corner of thumbnail when we hover on attachment. So in this commit, added a class for project sharing view so delete icon should be displayed properly task-2904015 closes odoo/odoo#102298 X-original-commit: c9609c62efe163901f8c2b1a30355b60dd34ad51 Signed-off-by: Xavier <xbo@odoo.com>
This commit is contained in:
committed by
Barad Mahendra
parent
35a2fff2dd
commit
9b07a00fb4
@@ -18,6 +18,15 @@
|
||||
|
||||
.o_portal_chatter_attachments {
|
||||
margin-bottom: 1rem;
|
||||
.o_portal_chatter_attachment {
|
||||
.o_portal_chatter_attachment_delete {
|
||||
@include o-position-absolute($top: 0, $right: 0);
|
||||
opacity: 0;
|
||||
}
|
||||
&:hover .o_portal_chatter_attachment_delete {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user