Skip to content

Commit 2250257

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 2250257

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
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:

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)