Skip to content

Commit

Permalink
微修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanasu committed Feb 12, 2024
1 parent 0bda3d8 commit 6ba34d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
11 changes: 5 additions & 6 deletions src/app/component/stand-image/stand-image.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,17 +192,16 @@
display: block;
position: relative;
border: 0px none;
width: 48px;
height: 48px;
max-width: 48px;
max-height: 48px;
width: 50px;
height: 50px;
max-width: 50px;
max-height: 50px;
overflow: hidden;
left: -24px;
top: -32px;
margin-right: -16px;
margin-bottom: -32px;
float: left;
backface-visibility: hidden;
/* background: linear-gradient(-30deg, rgb(240, 218, 189), rgb(255, 244, 232)); */
}

Expand All @@ -212,7 +211,7 @@
vertical-align: bottom;
object-fit: cover;
object-position: 50% 0%;
border-radius: 0.4em;
border-radius: 0.5rem;
}

.inverse {
Expand Down
3 changes: 1 addition & 2 deletions src/app/component/stand-image/stand-image.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@
[ngClass]="{'is-can-be-gone': isCanBeGone, 'is-ghostly': isGhostly, backyard: isBackyard, 'dialog-secret': isSecret, 'is-position-right': position <= 50, 'is-position-left': position > 50}"
[style.border-color]="color ? color : '#444'">
<p style="width: 100%" [@dialogShake]="math.floor(dialogText.length / 2)" (@dialogShake.start)="onSpeaking($event)">
<span class="face-icon-box is-3d"
*ngIf="!gameCharacter.isEmote && isUseFaceIcon && 0 < dialogFaceIcon?.url.length">
<span *ngIf="!gameCharacter.isEmote && isUseFaceIcon && 0 < dialogFaceIcon?.url.length" class="face-icon-box is-3d">
<img class="face-icon is-3d" [style.border-color]="color" [src]="dialogFaceIcon.url | safe: 'resourceUrl'">
</span><span [innerHTML]="dialogText | safe: 'html'"></span>
</p>
Expand Down

0 comments on commit 6ba34d2

Please sign in to comment.