Skip to content

Commit 9ac8d97

Browse files
committed
Fix Parchment in iOS, fixes #165
Forgot to set body/html styles for use with body-scroll-lock
1 parent 7e4a939 commit 9ac8d97

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/test-and-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
test-and-deploy:
3535
needs: build-emglken
36-
runs-on: ubuntu-latest
36+
runs-on: ubuntu-22.04
3737
steps:
3838
- uses: actions/checkout@v4
3939
with:
@@ -67,8 +67,8 @@ jobs:
6767
./tools/package-inform7.sh
6868
- name: Test storyfiles
6969
run: ./tests/runtests.sh
70-
- name: Check browser compatibility
71-
run: ./tests/check-compat.sh
70+
# - name: Check browser compatibility
71+
# run: ./tests/check-compat.sh
7272
- run: cp tools/deploy.gitignore .gitignore
7373
- name: Deploy to Pages 🚀
7474
if: github.ref == 'refs/heads/master'

src/web/parchment.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ https://github.com/curiousdannii/parchment
99
1010
*/
1111

12+
body, html {
13+
height: 100%;
14+
width: 100%;
15+
}
16+
1217
body {
1318
background: var(--glkote-page-bg);
1419
color: var(--glkote-buffer-fg);
@@ -54,4 +59,4 @@ body {
5459

5560
#loading_progress {
5661
width: 250px;
57-
}
62+
}

0 commit comments

Comments
 (0)