diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue
index 0949fb5cb..1794c3850 100644
--- a/src/components/common/VnLog.vue
+++ b/src/components/common/VnLog.vue
@@ -415,7 +415,7 @@ setLogTree();
@@ -425,6 +425,7 @@ setLogTree();
class="cursor-pointer"
:worker="userLog.user.id"
:title="userLog.user.nickname"
+ size="lg"
/>
.loading {
+ display: flex;
+ justify-content: center;
+ }
+ & > .q-card {
+ min-width: 180px;
+ max-width: 400px;
+
+ & > .header {
+ color: $dark;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ }
+ }
+}
.origin-log {
&:first-child > .origin-info {
margin-top: 0;
}
& > .origin-info {
- width: 100%;
- max-width: 42em;
margin-top: 28px;
gap: 6px;
@@ -847,14 +864,15 @@ setLogTree();
}
}
.user-log {
+ display: flex;
width: 100%;
max-width: 40em;
-
& > .timeline {
position: relative;
- padding-right: 5px;
- width: 50px;
+ padding-right: 1px;
+ width: 38px;
min-width: 38px;
+ flex-grow: auto;
& > .arrow {
height: 8px;
width: 8px;
@@ -874,7 +892,7 @@ setLogTree();
position: absolute;
background-color: $primary;
width: 2px;
- left: 23px;
+ left: 19px;
z-index: -1;
top: 0;
bottom: -8px;
@@ -984,25 +1002,6 @@ setLogTree();
}
}
}
-.q-menu {
- display: block;
-
- & > .loading {
- display: flex;
- justify-content: center;
- }
- & > .q-card {
- min-width: 180px;
- max-width: 400px;
-
- & > .header {
- color: $dark;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- }
-}
en:
diff --git a/src/components/ui/VnAvatar.vue b/src/components/ui/VnAvatar.vue
index 85bece243..0cda98b32 100644
--- a/src/components/ui/VnAvatar.vue
+++ b/src/components/ui/VnAvatar.vue
@@ -5,13 +5,14 @@ const $props = defineProps({
worker: { type: Number, required: true },
description: { type: String, default: null },
clickable: { type: Boolean, default: false },
+ size: { type: String, default: 'xl' },
});
const session = useSession();
const token = session.getToken();
-
+