Skip to content

Commit

Permalink
feat: キャラの最大高さを設定
Browse files Browse the repository at this point in the history
  • Loading branch information
shun-shobon committed Nov 7, 2024
1 parent 0c6fc3e commit 7b67ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/ModelLoad.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function Character({ characterSetting }: ModelProps): ReactNode {

export function ModelViewer({ characterSetting }: ModelProps): ReactNode {
return (
<div className="aspect-square h-auto w-full sm:max-h-[50dvh]">
<div className="h-full max-h-[50dvh] w-full">
<Canvas
scene={{
background: new THREE.Color("#0ea5e9"),
Expand Down

0 comments on commit 7b67ea2

Please sign in to comment.