Fix full screen image viewer colors, group description scrollbar

This commit is contained in:
Natsumi
2025-10-02 14:14:03 +13:00
parent cac7bf6f17
commit e40e7f20a5
4 changed files with 23 additions and 3 deletions

View File

@@ -1055,3 +1055,11 @@ i.x-status-icon.red {
:root {
--el-overlay-color-lighter: rgba(0, 0, 0, 0.15);
}
// fix fullscreen image viewer colors in dark mode
.toolbar-icon,
.el-image-viewer__actions,
.el-image-viewer__close {
color: var(--el-color-info-dark-2);
background-color: var(--el-bg-color);
}

View File

@@ -168,7 +168,13 @@
<div style="margin-top: 5px">
<pre
v-show="groupDialog.ref.name !== groupDialog.ref.description"
style="font-family: inherit; font-size: 12px; white-space: pre-wrap"
style="
font-family: inherit;
font-size: 12px;
white-space: pre-wrap;
max-height: 40vh;
overflow-y: auto;
"
v-text="groupDialog.ref.description"></pre>
</div>
</div>

View File

@@ -674,7 +674,10 @@ export const useInstanceStore = defineStore('Instance', () => {
userId: L.userId
})
.then((args) => {
Object.assign(L.user, args.ref);
if (args.ref.id === L.userId) {
Object.assign(L.user, args.ref);
instance.$location = L;
}
});
} else {
L.user = ref;

View File

@@ -1037,7 +1037,10 @@ export const useUserStore = defineStore('User', () => {
userId: L.userId
})
.then((args) => {
Object.assign(L.user, args.ref);
if (args.ref.id === L.userId) {
Object.assign(L.user, args.ref);
D.$location = L;
}
});
} else {
L.user = ref;