Skip to content

Commit

Permalink
🐛 修复跳转异常,调整武器文本溢出
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Aug 27, 2024
1 parent 823c96f commit a37be91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/components/userAvatar/tua-dc-weapon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,19 @@ const propSub = computed<TGApp.Game.Avatar.PropMapItem | false>(() => {
height: 100%;
flex-direction: column;
align-items: flex-start;
justify-content: flex-end;
justify-content: center;
}
.tua-dcw-title {
overflow: hidden;
font-family: var(--font-title);
text-overflow: ellipsis;
white-space: nowrap;
}
.tua-dcw-sub {
display: flex;
width: 100%;
width: 117px;
align-items: center;
justify-content: space-between;
font-size: 12px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/userAvatar/tua-detail-overlay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const avatarsWidth = computed<string>(() => {
watch(
() => props.avatar,
() => {
avatarTab.value = props.avatar.cid;
if (props.avatar) avatarTab.value = props.avatar.cid;
},
);
Expand Down

0 comments on commit a37be91

Please sign in to comment.