修改目录层级

master
落雨楓 3 weeks ago
parent 8badefd4e5
commit a75e7c4ede

@ -17,6 +17,8 @@ class MasonryItemWidget {
// 获取父级瀑布流参数 // 获取父级瀑布流参数
$masonryParams = MasonryWidget::getMasonryParams(); $masonryParams = MasonryWidget::getMasonryParams();
$text = trim($text);
$content = $text = $parser->recursiveTagParse($text, $frame); $content = $text = $parser->recursiveTagParse($text, $frame);
if (!$masonryParams) { if (!$masonryParams) {
return '<span class="error">' . wfMessage('isekai-masonry-item-must-in-masonry')->parse() . '</span>' . $content; return '<span class="error">' . wfMessage('isekai-masonry-item-must-in-masonry')->parse() . '</span>' . $content;

@ -81,6 +81,7 @@ class MasonryWidget {
} }
self::$paramsStack[] = $params; self::$paramsStack[] = $params;
$text = trim($text);
$content = $parser->recursiveTagParseFully($text, $frame); $content = $parser->recursiveTagParseFully($text, $frame);
array_pop(self::$paramsStack); array_pop(self::$paramsStack);

@ -4,7 +4,7 @@
opacity: 0; opacity: 0;
top: 0; top: 0;
right: 0; right: 0;
z-index: 200; z-index: 220;
margin: 0; margin: 0;
height: 100vh; height: 100vh;
min-width: 275px; min-width: 275px;
@ -80,7 +80,7 @@
opacity: 0; opacity: 0;
bottom: 0; bottom: 0;
background: rgba(0, 0, 0, 0.8); background: rgba(0, 0, 0, 0.8);
z-index: 101; z-index: 210;
transition: opacity 250ms linear; transition: opacity 250ms linear;
will-change: opacity; will-change: opacity;

Loading…
Cancel
Save