Skip to content

Commit

Permalink
Fix scrolling of feature page
Browse files Browse the repository at this point in the history
  • Loading branch information
s-macke committed Jun 23, 2024
1 parent 7a83645 commit d937366
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 29 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,20 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Install NPM
uses: actions/setup-node@v3
with:
node-version: 16
- name: Checkout
uses: actions/checkout@v3
- name: NPM Install
run: npm install
uses: actions/checkout@v4

- name: Install npm
uses: actions/setup-node@v4
with:
node-version: 18

- name: npm clean-install
run: npm ci

- name: Build
run: ./build.sh

- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
Expand Down
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ npx esbuild src/scripts/ui.ts --sourcemap --bundle --outfile=build/ui.js
# updated also package-lock.json
#npm install


#/opt/google/chrome-unstable/chrome --enable-features=Vulkan


5 changes: 4 additions & 1 deletion linklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,4 +285,7 @@ https://www.shadertoy.com/view/dlGyzD
https://www.shadertoy.com/view/DlVcRm

# good description of 2d fluid simulation
https://andrewkchan.dev/posts/fire.html
https://andrewkchan.dev/posts/fire.html

# flame fractal looks cool
https://compute.toys/view/68
36 changes: 16 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/scripts/RunGPURunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async function InitRunner(runner: GPURunner) : Promise<boolean> {
async function HandleHTML(runner: GPURunner) {
await SwitchToHTML()
let infoElement = document.getElementById("info")
infoElement.style.overflowY = ""
infoElement.style.overflowY = "scroll"

try {
await runner.Run()
Expand Down

0 comments on commit d937366

Please sign in to comment.