Skip to content

Commit

Permalink
Merge pull request #4358 from traPtitech/fix/position_of_stamp_picker…
Browse files Browse the repository at this point in the history
…_on_message_stamp_list

🐛  fix: スマホでメッセージのスタンプ一覧から開くスタンプピッカーの右側が画面外に出るバグを修正
  • Loading branch information
reiroop authored Jul 12, 2024
2 parents 3d9a711 + 2410266 commit 429b93b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Main/StampPicker/StampPickerContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const style = computed(() => {
if (alignment.value === 'top-left') {
return {
top: `min(calc(100% - ${height + margin}px), ${position.value.y}px)`,
left: `${position.value.x}px`
left: `min(calc(100% - ${width}px), ${position.value.x}px)`
}
}
Expand Down

0 comments on commit 429b93b

Please sign in to comment.