Skip to content

Commit 77f05df

Browse files
authored
Fix sftp sidebar UI issue (#1256)
* fix: sidebar ui update in case of sftp file creation * give litle padding on changelogs page
1 parent 0cf0233 commit 77f05df

File tree

2 files changed

+22
-15
lines changed

2 files changed

+22
-15
lines changed

src/pages/changelog/style.scss

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
11
#changelog {
2-
max-width: 800px;
3-
margin: auto;
4-
overflow: auto;
2+
max-width: 800px;
3+
margin: auto;
4+
overflow: auto;
5+
padding: 0 1rem;
56
}
67

78
.loading {
8-
display: flex;
9-
justify-content: center;
10-
align-items: center;
11-
height: 100%;
12-
color: var(--primary-text-color);
13-
font-size: 1.2em;
14-
animation: pulse 1.5s ease-in-out infinite;
9+
display: flex;
10+
justify-content: center;
11+
align-items: center;
12+
height: 100%;
13+
color: var(--primary-text-color);
14+
font-size: 1.2em;
15+
animation: pulse 1.5s ease-in-out infinite;
1516
}
1617

1718
@keyframes pulse {
18-
0% { opacity: 0.6; }
19-
50% { opacity: 1; }
20-
100% { opacity: 0.6; }
19+
0% {
20+
opacity: 0.6;
21+
}
22+
50% {
23+
opacity: 1;
24+
}
25+
100% {
26+
opacity: 0.6;
27+
}
2128
}

src/utils/helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,9 @@ export default {
398398
)
399399
) {
400400
if (isFile) {
401-
await fsOperation(uri).createFile(pathString);
401+
uri = await fsOperation(uri).createFile(pathString);
402402
} else {
403-
await fsOperation(uri).createDirectory(pathString);
403+
uri = await fsOperation(uri).createDirectory(pathString);
404404
}
405405
return { uri: uri, type: isFile ? "file" : "folder" };
406406
}

0 commit comments

Comments
 (0)