jqh 5 年之前
父节点
当前提交
60ef7bfaa2
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/Grid/Column/Filter/Between.php
  2. 1 1
      src/Grid/Column/Filter/Checkbox.php
  3. 1 1
      src/Grid/Column/Filter/Input.php

+ 1 - 1
src/Grid/Column/Filter/Between.php

@@ -164,7 +164,7 @@ JS;
         $active = empty(array_filter($value)) ? '' : 'active';
 
         return <<<EOT
-&nbsp;<span class="dropdown" style="position:absolute">
+&nbsp;<span class="dropdown">
 <form action="{$this->formAction()}" pjax-container style="display: inline-block;">
     <a href="javascript:void(0);" class="{$active}" data-toggle="dropdown">
         <i class="feather icon-filter"></i>

+ 1 - 1
src/Grid/Column/Filter/Checkbox.php

@@ -42,7 +42,7 @@ JS;
         $pjaxContainer = Admin::$pjaxContainerId;
 
         return <<<HTML
-&nbsp;<span class="dropdown" style="position:absolute;">
+&nbsp;<span class="dropdown">
 <form action="{$this->formAction()}" {$pjaxContainer} style="display: inline-block;">
     <a href="javascript:void(0);" class="{$active}" data-toggle="dropdown">
         <i class="feather icon-filter"></i>

+ 1 - 1
src/Grid/Column/Filter/Input.php

@@ -51,7 +51,7 @@ JS;
         $active = empty($value) ? '' : 'active';
 
         return <<<HTML
-&nbsp;<span class="dropdown" style="position: absolute">
+&nbsp;<span class="dropdown">
     <form action="{$this->formAction()}" pjax-container style="display: inline-block;">
     <a href="javascript:void(0);" class="feather icon-filter {$active}" data-toggle="dropdown">
     </a>