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
+8
View File
@@ -1055,3 +1055,11 @@ i.x-status-icon.red {
:root { :root {
--el-overlay-color-lighter: rgba(0, 0, 0, 0.15); --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);
}
@@ -168,7 +168,13 @@
<div style="margin-top: 5px"> <div style="margin-top: 5px">
<pre <pre
v-show="groupDialog.ref.name !== groupDialog.ref.description" 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> v-text="groupDialog.ref.description"></pre>
</div> </div>
</div> </div>
+3
View File
@@ -674,7 +674,10 @@ export const useInstanceStore = defineStore('Instance', () => {
userId: L.userId userId: L.userId
}) })
.then((args) => { .then((args) => {
if (args.ref.id === L.userId) {
Object.assign(L.user, args.ref); Object.assign(L.user, args.ref);
instance.$location = L;
}
}); });
} else { } else {
L.user = ref; L.user = ref;
+3
View File
@@ -1037,7 +1037,10 @@ export const useUserStore = defineStore('User', () => {
userId: L.userId userId: L.userId
}) })
.then((args) => { .then((args) => {
if (args.ref.id === L.userId) {
Object.assign(L.user, args.ref); Object.assign(L.user, args.ref);
D.$location = L;
}
}); });
} else { } else {
L.user = ref; L.user = ref;