Skip to content

Commit 24e43e6

Browse files
committed
fix(live2d): move speech bubble above character using inline marginTop style
1 parent 91e80b1 commit 24e43e6

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

vue/src/components/Live2dCharacter.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ function makeTipsStyle(dark) {
7777
boxShadow: dark
7878
? '0 4px 20px rgba(0,0,0,0.35)'
7979
: '0 4px 20px rgba(0,0,0,0.1)',
80+
marginTop: '-140px',
8081
}
8182
}
8283
@@ -257,10 +258,3 @@ onMounted(async () => {
257258
}
258259
}
259260
</style>
260-
261-
<style>
262-
/* 看板娘气泡移到头顶上方 */
263-
.oml2d-tips {
264-
transform: translateY(-100%) translateY(-40px) !important;
265-
}
266-
</style>

0 commit comments

Comments
 (0)