Skip to content

Commit

Permalink
Update Box Raytracing example to use tgpu.resolve API (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhawryluk authored Nov 20, 2024
1 parent 7a0a5fb commit b8951a9
Show file tree
Hide file tree
Showing 6 changed files with 220 additions and 130 deletions.
2 changes: 1 addition & 1 deletion apps/typegpu-docs/src/components/ControlPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export function ControlPanel() {
<div
className={cs(
isGPUSupported ? '' : 'hidden md:flex',
'box-border flex flex-col gap-4 p-6 bg-grayscale-0 rounded-xl max-h-[50%] md:max-h-full',
'box-border flex flex-col gap-4 p-6 bg-grayscale-0 rounded-xl max-h-[50%] md:max-h-full overflow-auto',
)}
>
<div className="hidden md:flex flex-col gap-4">
Expand Down
2 changes: 1 addition & 1 deletion apps/typegpu-docs/src/components/ExampleLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function SideMenu() {
menuShownMobile
? 'absolute inset-0 z-50 w-full md:static'
: 'hidden md:flex',
'box-border flex flex-col bg-white md:rounded-2xl md:w-[18.75rem] p-5 gap-5',
'box-border flex flex-col bg-white md:rounded-2xl md:w-[18.75rem] p-5 gap-5 overflow-auto',
)}
>
<header className="grid gap-5">
Expand Down
Loading

0 comments on commit b8951a9

Please sign in to comment.