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

Add monospace option to Kino.Input.textarea #220

Merged
merged 3 commits into from
Dec 6, 2022

Conversation

zolrath
Copy link
Contributor

@zolrath zolrath commented Dec 5, 2022

Allow Kino.Input.textarea inputs to be given a new option, monospace.
When monospace is set to true, this allows Livebook to render the textarea with a monospaced font.

This is to support livebook-dev/livebook#1565

When combined with the pull request above it results in:

image

Allow `textarea` inputs to be set to `monospace`.
@zolrath zolrath changed the title Add monospace option to textarea Add monospace option to Kino.Input.textarea Dec 5, 2022
Copy link
Member

@jonatanklosko jonatanklosko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

lib/kino/input.ex Outdated Show resolved Hide resolved
lib/kino/input.ex Outdated Show resolved Hide resolved
zolrath and others added 2 commits December 6, 2022 10:26
@jonatanklosko jonatanklosko merged commit ef3062f into livebook-dev:main Dec 6, 2022
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

Successfully merging this pull request may close these issues.

2 participants