prepare fileBrowser layout on mobile

This commit is contained in:
marlon-erler
2024-07-21 18:56:56 +02:00
parent 6507b64922
commit 593c85a8b9
6 changed files with 123 additions and 15 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export function DirectoryItemList(
// data
const path = StorageModel.stringToPathComponents(pathString);
const fileName = path[path.length - 1] || "\\";
const fileName = StorageModel.getFileName(path);
const items = new React.ListState<string>();
const style = `text-indent: ${path.length * 2}rem`;