Skip to content

Commit 95df645

Browse files
committed
Fixed mobile bugs
1 parent 08fac35 commit 95df645

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

bun.lockb

0 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"highlight.js": "^11.9.0",
1717
"hono": "^4.0.10",
1818
"jdomjs": "3.1.11",
19-
"petrel": "1.1.0",
19+
"petrel": "1.1.1",
2020
"sass": "^1.71.1"
2121
}
2222
}

public/petrel/base.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
overflow-wrap: normal;
33
overflow-x: auto;
44
position: relative;
5+
font-size: 16px;
56
font-family: monospace;
7+
text-size-adjust: 100%;
8+
-webkit-text-size-adjust: 100%;
69
}
10+
711
.petrel-code-editor * {
812
font-family: inherit;
913
line-height: inherit;

0 commit comments

Comments
 (0)