mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
fix kanban menu with star
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div>
|
||||
{{#if isFirst}}
|
||||
{{#unless rowActionsDisabled}}
|
||||
<div class="pull-right item-menu-container fix-overflow">{{{../itemMenu}}}</div>
|
||||
<div class="pull-right item-menu-container fix-position">{{{../itemMenu}}}</div>
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
<div class="form-group">
|
||||
|
||||
@@ -112,8 +112,14 @@ function uiAppInit() {
|
||||
|
||||
const $dashletBody = $(target).closest('.dashlet-body');
|
||||
|
||||
if ($dashletBody.length) {
|
||||
const $body = $dashletBody;
|
||||
const fixPosition = e.target.parentElement.classList.contains('fix-position');
|
||||
|
||||
if ($dashletBody.length || fixPosition) {
|
||||
let $body = $dashletBody;
|
||||
|
||||
if (fixPosition) {
|
||||
$body = $(window);
|
||||
}
|
||||
|
||||
$(target).removeClass('dropup');
|
||||
|
||||
@@ -152,10 +158,10 @@ function uiAppInit() {
|
||||
right: 'auto',
|
||||
});
|
||||
|
||||
return;
|
||||
//return;
|
||||
}
|
||||
|
||||
if (e.target.parentElement.classList.contains('fix-overflow')) {
|
||||
/*if (e.target.parentElement.classList.contains('fix-overflow')) {
|
||||
$(target).removeClass('dropup');
|
||||
|
||||
const isRight = e.target.classList.contains('pull-right');
|
||||
@@ -187,7 +193,7 @@ function uiAppInit() {
|
||||
left: left,
|
||||
right: 'auto',
|
||||
});
|
||||
}
|
||||
}*/
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -204,11 +204,11 @@ ul.dropdown-menu {
|
||||
margin-right: var(--2px);
|
||||
}
|
||||
|
||||
.fix-overflow {
|
||||
/*.fix-position {
|
||||
.btn-group {
|
||||
position: unset;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
.dropdown-menu {
|
||||
.quick-search-list-item {
|
||||
|
||||
Reference in New Issue
Block a user