mirror of
https://github.com/Dreamer-Paul/Pio.git
synced 2025-04-22 19:22:36 +08:00
Fix "Z-index"
修复部分模板的元素会遮住 Pio 的尴尬局面
This commit is contained in:
parent
0f7ac49091
commit
f6c8ae7f97
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @package Pio
|
||||
* @author Dreamer-Paul
|
||||
* @version 1.0
|
||||
* @version 1.0.1
|
||||
* @link https://paugram.com
|
||||
*/
|
||||
|
||||
@ -30,7 +30,7 @@ class Pio_Plugin implements Typecho_Plugin_Interface{
|
||||
|
||||
/* 插件实现方法 */
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user