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

--keycap-height issues in iframe #2364

Open
gunnarmein-ts opened this issue May 3, 2024 · 1 comment
Open

--keycap-height issues in iframe #2364

gunnarmein-ts opened this issue May 3, 2024 · 1 comment

Comments

@gunnarmein-ts
Copy link
Contributor

Description

When I have a mathfield in an iframe, in sandboxed mode for the keyboard, setting --keycap-height has no effect, but --keycap-font-size works.

Steps to Reproduce

Unzip the attachment, open test2.html
test.zip

Actual Behavior

Keycaps are usual size, font is small

Expected Behavior

keycaps and font should be small

Environment

Don't know if this is a regression. macOS 14.4.1, Chrome up to date, also in Safari 17.4.1.
Mathlive 98.6.

@gunnarmein-ts gunnarmein-ts changed the title --keycap-height and --keycap-font-size issues in iframe --keycap-height issues in iframe May 7, 2024
@gunnarmein-ts
Copy link
Contributor Author

Work-around:
.MLK__rows > .MLK__row div { --_keycap-height: 15px; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant