зеркало из https://github.com/nextcloud/deck.git
Fix popovermenus on 13
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Родитель
081b3520a0
Коммит
066f67ef7b
|
@ -496,8 +496,6 @@ input.input-inline {
|
|||
z-index: 999;
|
||||
opacity: 1;
|
||||
display: block;
|
||||
margin-top: 25px;
|
||||
margin-right: 0px;
|
||||
|
||||
&.hidden {
|
||||
display: none;
|
||||
|
@ -834,6 +832,7 @@ input.input-inline {
|
|||
|
||||
button {
|
||||
opacity: 0.5;
|
||||
padding: 22px;
|
||||
}
|
||||
|
||||
&:hover button {
|
||||
|
@ -852,10 +851,6 @@ input.input-inline {
|
|||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.popovermenu {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.board-edit-controls {
|
||||
display: flex;
|
||||
}
|
||||
|
|
|
@ -28,13 +28,7 @@ app.directive('appPopoverMenuUtils', function () {
|
|||
var menu = elm.find('.popovermenu');
|
||||
var button = elm.find('button');
|
||||
button.click(function (e) {
|
||||
$('.popovermenu').addClass('hidden');
|
||||
menu.toggleClass('hidden');
|
||||
if(!menu.hasClass('hidden')) {
|
||||
button.css('display','block');
|
||||
} else {
|
||||
button.css('display','');
|
||||
}
|
||||
e.stopPropagation();
|
||||
});
|
||||
scope.$on('documentClicked', function (scope, event) {
|
||||
|
@ -42,7 +36,6 @@ app.directive('appPopoverMenuUtils', function () {
|
|||
if (event.target !== button && !$(event.target).hasClass('no-close')) {
|
||||
menu.addClass('hidden');
|
||||
}
|
||||
button.css('display','');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
@ -46,9 +46,10 @@
|
|||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="hint"></div>
|
||||
<div class="app-popover-menu-utils" ng-if="b.deletedAt == 0" ng-show="!b.status.edit">
|
||||
<button class="icon icon-more button-inline" title="<?php p($l->t('More actions')); ?>"><span class="hidden-visually"><?php p($l->t('More actions')); ?></span></button>
|
||||
<button class="icon icon-more button-inline" title="<?php p($l->t('More actions')); ?>">
|
||||
<span class="hidden-visually"><?php p($l->t('More actions')); ?></span>
|
||||
</button>
|
||||
<div class="popovermenu bubble hidden">
|
||||
<ul>
|
||||
<li ng-click="boardUpdateBegin(b); b.status.edit = true">
|
||||
|
|
Загрузка…
Ссылка в новой задаче