📱 滚动条

This commit is contained in:
Vanessa 2025-04-20 10:50:07 +08:00
parent f31f9514e2
commit 7af3d78e54

View file

@ -97,7 +97,7 @@ export class MobileFiles extends Model {
<svg data-type="sort" class="toolbar__icon${window.siyuan.config.readonly ? " fn__none" : ""}"><use xlink:href="#iconSort"></use></svg>
</div>
<div class="fn__flex-1"></div>
<ul class="b3-list b3-list--background fn__flex-column" style="min-height: auto;height:42px;transition: height .2s cubic-bezier(0, 0, .2, 1) 0ms">
<ul class="b3-list b3-list--background fn__flex-column" style="min-height: auto;height:42px;transition: height .2s cubic-bezier(0, 0, .2, 1) 0ms">
<li class="b3-list-item" data-type="toggle">
<span class="b3-list-item__toggle">
<svg class="b3-list-item__arrow"><use xlink:href="#iconRight"></use></svg>
@ -369,7 +369,7 @@ export class MobileFiles extends Model {
}
const svgElement = this.closeElement.querySelector("svg");
if (html !== "") {
this.closeElement.style.height = "30px";
this.closeElement.style.height = "42px";
svgElement.classList.remove("b3-list-item__arrow--open");
this.closeElement.lastElementChild.classList.add("fn__none");
} else {