Skip to content

Commit

Permalink
Oops .container is a tailwind class
Browse files Browse the repository at this point in the history
  • Loading branch information
rianadon committed Jul 9, 2024
1 parent fe171b8 commit 0ea881c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lib/3d/CoopCanvas.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

<svelte:window on:resize={resize} />

<div class="container" bind:this={container}>
<div class="canvascont" bind:this={container}>
<canvas bind:this={canvas}>
{#if $initialized}
<SceneGraphObject object={ctx.scene}>
Expand All @@ -113,7 +113,7 @@
</div>

<style>
.container,
.canvascont,
canvas {
position: absolute;
width: 100%;
Expand Down
4 changes: 2 additions & 2 deletions src/routes/beta/lib/viewers/Viewer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<svelte:window on:resize={resize} />

{#if WebGL.isWebGLAvailable()}
<div class="container" bind:this={canvas} {style}>
<div class="canvascont" bind:this={canvas} {style}>
<Canvas toneMapping={0} bind:ctx>
<Interactivity>
<T.Group scale={cameraScale}>
Expand Down Expand Up @@ -102,7 +102,7 @@
{/if}

<style>
.container {
.canvascont {
position: absolute;
width: 100%;
height: 100%;
Expand Down

0 comments on commit 0ea881c

Please sign in to comment.