Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the issue that the input box will be magnified when clicking on it in mobile browser #204

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions example/encrypted/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,13 @@
transform: rotate(360deg);
}
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
.staticrypt-form input[type="password"],
input[type="text"] {
font-size: 16px;
}
}
</style>
</head>

Expand Down
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
label.no-style {
font-weight: normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
.staticrypt-form input[type="password"],
input[type="text"] {
font-size: 16px;
}
}
</style>
</head>

Expand Down
7 changes: 7 additions & 0 deletions lib/password_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,13 @@
transform: rotate(360deg);
}
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
.staticrypt-form input[type="password"],
input[type="text"] {
font-size: 16px;
}
}
</style>
</head>

Expand Down
7 changes: 7 additions & 0 deletions scripts/index_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
label.no-style {
font-weight: normal;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
.staticrypt-form input[type="password"],
input[type="text"] {
font-size: 16px;
}
}
</style>
</head>

Expand Down