fix undefined ugc path & table hover

This commit is contained in:
Natsumi
2025-06-20 13:45:31 +12:00
parent 817412762f
commit 86026f5189
2 changed files with 10 additions and 1 deletions

View File

@@ -12152,6 +12152,9 @@ console.log(`isLinux: ${LINUX}`);
$app.data.folderSelectorDialogVisible = false;
$app.methods.setUGCFolderPath = async function (path) {
if (typeof path !== 'string') {
path = '';
}
await configRepository.setString('VRCX_userGeneratedContentPath', path);
this.ugcFolderPath = path;
};

View File

@@ -90,7 +90,13 @@
.el-table .cell {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
// -webkit-line-clamp: 1;
}
// expand table cell on hover, TODO: replace with a better solution
.el-table__row:hover .el-table__cell .cell {
-webkit-box-orient: unset;
-webkit-line-clamp: unset;
}
.el-table th.is-sortable .cell {