Skip to content

Commit

Permalink
Fix Parchment in iOS, fixes #165
Browse files Browse the repository at this point in the history
Forgot to set body/html styles for use with body-scroll-lock
  • Loading branch information
curiousdannii committed Dec 31, 2024
1 parent 7e4a939 commit 9ac8d97
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

test-and-deploy:
needs: build-emglken
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -67,8 +67,8 @@ jobs:
./tools/package-inform7.sh
- name: Test storyfiles
run: ./tests/runtests.sh
- name: Check browser compatibility
run: ./tests/check-compat.sh
# - name: Check browser compatibility
# run: ./tests/check-compat.sh
- run: cp tools/deploy.gitignore .gitignore
- name: Deploy to Pages 🚀
if: github.ref == 'refs/heads/master'
Expand Down
7 changes: 6 additions & 1 deletion src/web/parchment.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ https://github.com/curiousdannii/parchment
*/

body, html {
height: 100%;
width: 100%;
}

body {
background: var(--glkote-page-bg);
color: var(--glkote-buffer-fg);
Expand Down Expand Up @@ -54,4 +59,4 @@ body {

#loading_progress {
width: 250px;
}
}

0 comments on commit 9ac8d97

Please sign in to comment.