diff --git a/app/src/mobile/dock/MobileFiles.ts b/app/src/mobile/dock/MobileFiles.ts
index ebde8f453..e8bd75ddc 100644
--- a/app/src/mobile/dock/MobileFiles.ts
+++ b/app/src/mobile/dock/MobileFiles.ts
@@ -91,7 +91,7 @@ export class MobileFiles extends Model {
-
+
-
@@ -158,14 +158,15 @@ export class MobileFiles extends Model {
event.stopPropagation();
break;
} else if (type === "toggle") {
- if (this.closeElement.classList.contains("fn__flex-1")) {
+ const svgElement = target.querySelector("svg")
+ if (svgElement.classList.contains("b3-list-item__arrow--open")) {
+ this.closeElement.style.height = "42px"
+ svgElement.classList.remove("b3-list-item__arrow--open");
this.closeElement.lastElementChild.classList.add("fn__none");
- this.closeElement.classList.remove("fn__flex-1");
- target.querySelector("svg").classList.remove("b3-list-item__arrow--open");
} else {
+ this.closeElement.style.height = "40%"
+ svgElement.classList.add("b3-list-item__arrow--open");
this.closeElement.lastElementChild.classList.remove("fn__none");
- this.closeElement.classList.add("fn__flex-1");
- target.querySelector("svg").classList.add("b3-list-item__arrow--open");
}
event.stopPropagation();
event.preventDefault();