Skip to content

Commit b00cc1b

Browse files
committed
Fix Markdown editor zoom on mobile
1 parent 802e04c commit b00cc1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets/editor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ function createEditor() {
3737
const [editor] = new OverType("#editor", {
3838
value: value,
3939
padding: "12px", // Match daisyUI intput/textarea padding
40+
fontSize: "16px", // To prevent zoom on iOS when focusing input
4041
textareaProps: {
4142
id: "content",
4243
name: "content",

0 commit comments

Comments
 (0)