Skip to content

Commit

Permalink
Fix "Z-index"
Browse files Browse the repository at this point in the history
修复部分模板的元素会遮住 Pio 的尴尬局面
  • Loading branch information
Dreamer-Paul committed Feb 25, 2018
1 parent 0f7ac49 commit f6c8ae7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package Pio
* @author Dreamer-Paul
* @version 1.0
* @version 1.0.1
* @link https://paugram.com
*/

Expand All @@ -30,7 +30,7 @@ public static function personalConfig(Typecho_Widget_Helper_Form $form){}

/* 插件实现方法 */
public static function header(){
echo "<style>#pio{ left: 0; bottom: 0; position: fixed; pointer-events: none; } @media screen and (max-width: 768px){ #pio{ width: 8em; } }</style>";
echo "<style>#pio{ left: 0; bottom: 0; z-index: 520; position: fixed; pointer-events: none; } @media screen and (max-width: 768px){ #pio{ width: 8em; } }</style>";
}
public static function footer(){
$ppd = Helper::options()->pluginUrl;
Expand Down

0 comments on commit f6c8ae7

Please sign in to comment.