AntonLV 5 năm trước cách đây
mục cha
commit
1dc7be65a3

+ 1 - 1
modules/boonex/polls/classes/BxPollsTemplate.php

@@ -117,7 +117,7 @@ class BxPollsTemplate extends BxBaseModTextTemplate
                     'menu' => array(
                         'id' => $sMenuId, 
                         'class' => $sMenu, 
-                        'onclick' => "bx_menu_slide_inline('#" . $sMenuId . "', this, $(this).parents('.bx-db-menu:first'))"
+                        'onclick' => "bx_menu_popup_inline('#" . $sMenuId . "', this)"
                     )
                 )
             )),

+ 2 - 3
modules/boonex/polls/template/css/entry.css

@@ -12,8 +12,8 @@
 }
 .bx-polls-entity-actions .bx-db-menu {
     position: absolute;
-    top: 0;
-    right: 0;
+    top: 0.5rem;
+    right: 1rem;
     line-height: normal;
 }
 .bx-polls-entity-actions .bx-db-menu-tab {
@@ -25,7 +25,6 @@
     position: relative;
     display: block;
     margin: 0;
-    padding: 1rem;
 }
 
 .bx-pull-combined-entity-content {