Skip to content

Commit

Permalink
Fix: ソングエディタのキャラアイコンのスケルトンを直す (#2407)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
sevenc-nanashi and github-actions[bot] authored Dec 10, 2024
1 parent f4982e9 commit 7d2ef38
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/components/Sing/CharacterMenuButton/SelectedCharacter.vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<template>
<div v-if="props.showSkeleton" class="selected-character">
<QSkeleton class="character-avatar" type="QAvatar" size="40px" />
<div class="character-info">
<QSkeleton class="character-avatar skeleton" type="QAvatar" size="36px" />
<div class="character-info skeleton">
<QSkeleton
class="character-name skeleton"
type="rect"
width="64px"
height="16px"
/>
<QSkeleton
class="character-style"
class="character-style skeleton"
type="rect"
width="110px"
width="80px"
height="8px"
/>
</div>
Expand Down Expand Up @@ -97,7 +97,6 @@ const selectedStyleIconPath = computed(() => {
}
.character-avatar {
background: var(--scheme-color-background);
width: 36px;
height: 36px;
}
Expand Down Expand Up @@ -139,10 +138,16 @@ const selectedStyleIconPath = computed(() => {
.character-style {
color: var(--scheme-color-on-surface-variant);
font-size: 9px;
transform: translateY(-5px);
font-weight: 400;
line-height: 16px;
margin-bottom: 8px;
&.skeleton {
transform: translateY(5px);
}
&:not(.skeleton) {
transform: translateY(-5px);
}
}
.character-menu-dropdown-icon {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7d2ef38

Please sign in to comment.