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

Printed worksheet theme: show all the options for a dropdownlist input #1067

Closed
christianp opened this issue Nov 28, 2023 · 1 comment
Closed

Comments

@christianp
Copy link
Member

At the moment, the <select> input is rendered with the GUI styling, so you can't see the options.

<option> elements are replaced, so you can't style them. The theme will have to produce different HTML.

@christianp
Copy link
Member Author

Actually, this needs to happen in the default theme, too, so the printed version looks sensible. And that would solve the problem we currently have that the custom part type also needs different markup for print.

So I think a better solution would be to produce two versions, one with a <select> and the other with a <span>, and only show one depending on whether the media is screen or print.

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

No branches or pull requests

1 participant