From 2bc7e9281de16446ac3c5a95ecb8751fff9cae0b Mon Sep 17 00:00:00 2001 From: Catouse Date: Thu, 26 Nov 2020 10:48:45 +0800 Subject: [PATCH] * fix UI of dropdownmenu in table actions cell. --- module/program/view/pgmbrowsebylist.html.php | 23 +++++++++++--------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/module/program/view/pgmbrowsebylist.html.php b/module/program/view/pgmbrowsebylist.html.php index 37ea001010..c2e676c1e6 100644 --- a/module/program/view/pgmbrowsebylist.html.php +++ b/module/program/view/pgmbrowsebylist.html.php @@ -61,12 +61,12 @@ id", $program, 'list', 'play', '', 'iframe', true, '', $this->lang->program->PGMStart);?> createLink("program", "pgmedit", "programID=$program->id"), "", '', "class='btn' title='{$this->lang->program->PGMEdit}'");?> id", '', 'list', 'treemap-alt', '', '', '', '', $this->lang->program->PGMChildren);?> - + id", $program, 'list', 'icon icon-lock');?> @@ -74,12 +74,12 @@ id", $program, 'list', 'play', '', 'iframe', true);?> createLink("program", "prjedit", "programID=$program->id"), "", '', "class='btn' title='{$this->lang->program->PRJEdit}'");?> id", '', 'list', 'treemap-alt', '', 'disabled', '', '', $this->lang->program->PGMChildren);?> - + @@ -93,6 +93,9 @@ #programTableList.sortable-sorting > tr {opacity: 0.7} #programTableList.sortable-sorting > tr.drag-row {opacity: 1;} #programTableList > tr.drop-not-allowed {opacity: 0.1!important} +#programList .c-actions {overflow: visible;} +#programList .c-actions .dropdown-menu {padding-right: 8px; margin-top: -4px;} +#programTableList > tr:last-child .c-actions .dropdown-menu {top: auto; bottom: 100%; margin-bottom: -5px;}